Part Number Hot Search : 
24001 BZT52C10 15CH60 7108M MD3880 BYZ50K22 L50NH3LL 00104
Product Description
Full Text Search
 

To Download PSB21911 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 ICs for Communications
ISDN Echocancellation Circuit for Terminal Applications IEC-Q TE PSB 21911 Version 5.2 PSF 21911 Version 5.2
Data Sheet 11.97
DS 1
PSB 21911 Revision History: Previous Releases: Page
Original Version: 11.97 None
Subjects (changes since last revision)
For questions on technology, delivery and prices please contact the Semiconductor Group Offices in Germany or the Siemens Companies and Representatives worldwide: see our webpage at http://www.siemens.de/Semiconductor/address/address.htm.
Edition 11.97 Published by Siemens AG, HL TS, Balanstrae 73, 81541 Munchen (c) Siemens AG 28.11.97. All Rights Reserved. Attention please! As far as patents or other rights of third parties are concerned, liability is only assumed for components, not for applications, processes and circuits implemented within components or assemblies. The information describes the type of component and shall not be considered as assured characteristics. Terms of delivery and rights to change design reserved. Due to technical requirements components may contain dangerous substances. For information on the types in question please contact your nearest Siemens Office, Semiconductor Group. Siemens AG is an approved CECC manufacturer. Packing Please use the recycling operators known to you. We can also help you - get in touch with your nearest sales office. By agreement we will take packing material back, if it is sorted. You must bear the costs of transport. For packing material that is returned to us unsorted or which we are not obliged to accept, we shall have to invoice you for any costs incurred. Components used in life-support devices or systems must be expressly authorized for such purpose! Critical components1 of the Semiconductor Group of Siemens AG, may only be used in life-support devices or systems2 with the express written approval of the Semiconductor Group of Siemens AG. 1 A critical component is a component used in a life-support device or system whose failure can reasonably be expected to cause the failure of that life-support device or system, or to affect its safety or effectiveness of that device or system. 2 Life support devices or systems are intended (a) to be implanted in the human body, or (b) to support and/or maintain and sustain human life. If they fail, it is reasonable to assume that the health of the user may be endangered.
PSB 21911 PSF 21911
Table of Contents 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.7.1 1.7.2 1.7.3 1.7.4 2 2.1 2.2 2.3 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.4 2.4.1 2.4.2 2.5 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.5.10 2.6 2.6.1 2.6.2 2.6.3 2.6.4 2.7 Page
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 Logic Symbol P Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 Logic Symbol Stand-Alone Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 Pin Definitions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 Microprocessor Bus Interface (Overview) . . . . . . . . . . . . . . . . . . . . . . . . .21 System Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 ISDN PC Adapter Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 ISDN Stand-Alone Terminal with POTS Interface . . . . . . . . . . . . . . . . . . .23 ISDN Feature Phone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 ISDN-Modem PC Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Device Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 IOM-2 Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 IOM-2 Frame Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 IOM-2 Command / Indication Channels . . . . . . . . . . . . . . . . . . . . . . . . . .34 IOM-2 Monitor Channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 Activation/Deactivation of IOM-2 Clocks . . . . . . . . . . . . . . . . . . . . . . . . . .37 Superframe Marker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 IOM-2 Output Driver Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 Microprocessor Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 Microprocessor Clock Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 U-Transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 U-Frame Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 EOC-Processor and MON-0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51 Maintenance (MON-1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 Overhead Bits (MON-2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56 Local Functions (MON-8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 State Machine Notation Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 State Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63 C/I Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74 Layer 1 Loop-Backs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76 Analog Line Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78 Access to IOM-2 Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81 B-Channel Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82 D-Channel Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82 C/I Channel Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83 Monitor Channel Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84 S/G Bit and BAC Bit in TE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
3 11.97
Semiconductor Group
PSB 21911 PSF 21911
2.7.1 2.8 2.9 3 3.1 3.2 3.3 3.4 3.4.1 3.4.2 3.4.3 4 4.1 4.1.1 4.2 5 5.1 5.2 5.3 5.4 5.4.1 5.4.2 5.4.3 6 7 8 Appendix App A App B App C Index
Applications with ELIC on the Linecard (PBX) . . . . . . . . . . . . . . . . . . . . .90 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93 Power Controller Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94 Operational Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97 C/I Channel Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97 Monitor Channel Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98 Layer 1 Activation/Deactivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100 External Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109 Power Supply Blocking Recommendation . . . . . . . . . . . . . . . . . . . . . . . .109 U-Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110 Oscillator Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111 Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112 Interrupt Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114 Monitor-Channel Interrupt Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .130 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .130 Power Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .132 DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133 AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136 Parallel Microprocessor Interface Timing . . . . . . . . . . . . . . . . . . . . . . . .136 Serial Microprocessor Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . .140 IOM-2 Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142 Package Outlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .147 External Component Sourcing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .149 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .152
Jitter on IOM-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .154 S/G Bit Control State Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .155 Quick Reference Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .160
IOM(R), IOM(R)-1, IOM(R)-2, SICOFI(R), SICOFI(R)-2, SICOFI(R)-4, SICOFI(R)-4C, SLICOFI(R), ARCOFI(R) , ARCOFI(R)-BA, ARCOFI(R)-SP, EPIC(R)-1, EPIC(R)-S, ELIC(R), IPAT(R)-2, ITAC(R), ISAC(R)-S, ISAC(R)-S TE, ISAC(R)-P, ISAC(R)-P TE, IDEC(R), SICAT(R), OCTAT(R)-P, QUAT(R)-S are registered trademarks of Siemens AG. MUSACTM-A, FALCTM54, IWE TM, SARETM, UTPTTM, ASMTM, ASPTM, DigiTapeTM are trademarks of Siemens AG. Purchase of Siemens I2C components conveys a license under the Philips' I2C patent to use the components in the I2C-system provided the system conforms to the I2C specifications defined by Philips. Copyright Philips 1983.
Semiconductor Group
4
11.97
PSB 21911 PSF 21911
List of Figures Figure 1: Figure 2: Figure 3: Figure 4: Figure 5: Figure 6: Figure 7: Figure 8: Figure 9: Figure 10: Figure 11: Figure 12: Figure 13: Figure 14: Figure 15: Figure 16: Figure 17: Figure 18: Figure 19: Figure 20: Figure 21: Figure 22: Figure 23: Figure 24: Figure 25: Figure 26: Figure 27: Figure 28: Figure 29: Figure 30: Figure 31: Figure 32: Figure 33: Figure 34: Figure 35: Figure 36: Figure 37: Figure 38: Figure 39: Figure 40: Figure 41: Figure 42: Page
Stand-Alone Mode (left) and P Mode (right). . . . . . . . . . . . . . . . . . . . . . . 8 Logic Symbol P Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Logic Symbol Stand-Alone Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Pin Configuration P-LCC-44 and T-QFP-64 Package (top view) . . . . . . . 12 ISDN PC Adapter Card. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 ISDN Stand-Alone Terminal with POTS Interface . . . . . . . . . . . . . . . . . . 23 ISDN Feature Phone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 ISDN-Modem PC Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 IEC-Q TE Device Architecture (P Mode) . . . . . . . . . . . . . . . . . . . . . . . . 28 IEC-Q TE Device Architecture (Stand-Alone Mode). . . . . . . . . . . . . . . . . 29 IOM-2 Clocks and Data Lines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Basic Channel Structure of IOM-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Definition of the IOM-2 Frame in TE Mode. . . . . . . . . . . . . . . . . . . . . . . . 32 Definition of the IOM-2 Frame in NT Mode. . . . . . . . . . . . . . . . . . . . . . . . 33 Deactivation of the IOM-2 Clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 U-Transceiver Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 CRC-Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Block Error Counter Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Scrambler / Descrambler Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 EOC-Processor: Auto Mode, Transparent Mode . . . . . . . . . . . . . . . . . . . 51 State Diagram Notation U-Transceiver. . . . . . . . . . . . . . . . . . . . . . . . . . . 62 State Transition Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Test Loop-Backs Supported by the IEC-Q TE . . . . . . . . . . . . . . . . . . . . . 76 DAC-Output for a Single Pulse. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Pulse Mask for a Single Positive Pulse . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Access to IOM-2 Channels (P mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Procedure for the D-Channel Processing. . . . . . . . . . . . . . . . . . . . . . . . . 83 C/I Channel Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 Monitor Channel Access Directions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Monitor Channel Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 D-Channel Request by the Terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 Reset Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Sampling of Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Example: C/I-Channel Use (all data values hexadecimal) . . . . . . . . . . . . 97 Complete Activation Initiated by LT . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Complete Activation Initiated by TE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Complete Deactivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 U Only Activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 LT Initiated Activation with U-Interface Active . . . . . . . . . . . . . . . . . . . . 105 TE-Activation with U Active and Exchange Control (case 1) . . . . . . . . . 106 TE-Activation with U Active and no Exchange Control (case 2). . . . . . . 107 Deactivation of S/T Only. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
5 11.97
Semiconductor Group
PSB 21911 PSF 21911
Figure 43: Figure 44: Figure 45: Figure 46: Figure 47: Figure 48: Figure 49: Figure 50: Figure 51: Figure 52: Figure 53: Figure 54: Figure 55: Figure 56: Figure 57: Figure 58: Figure 59: Figure 60: Figure 61: Figure 62: Figure 63: Figure 64: Figure 65: Figure 66: Figure 67: Figure 68:
Power Supply Blocking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . U-Interface Hybrid Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Crystal Oscillator or External Clock Source . . . . . . . . . . . . . . . . . . . . . . Interrupt Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Test Condition for Maximum Input Current. . . . . . . . . . . . . . . . . . . . . . . U-Transceiver Input Current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Maximum Sinusoidal Ripple on Supply Voltage . . . . . . . . . . . . . . . . . . . Input/Output Waveform for AC Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . Siemens/Intel Read Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Siemens/Intel Write Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Siemens/Intel Multiplexed Address Timing. . . . . . . . . . . . . . . . . . . . . . . Siemens/Intel Non-Multiplexed Address Timing. . . . . . . . . . . . . . . . . . . Motorola Read Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Motorola Write Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Motorola Non-Multiplexed Address Timing. . . . . . . . . . . . . . . . . . . . . . . Serial P Interface Mode Write. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial P Interface Mode Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IOM-2 Timing in NT Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dynamic Characteristics of Power Controller Write Access . . . . . . . . . . Dynamic Characteristics of Power Controller Read Access . . . . . . . . . . Reset Signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S/G Bit State Machine Notation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . State machine (part 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . State machine (part 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . State machine (part 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . U-Transceiver State Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
109 110 111 114 131 131 135 136 136 137 137 137 138 138 138 140 140 142 144 144 146 155 156 157 158 161
Semiconductor Group
6
11.97
PSB 21911 PSF 21911
List of Tables Table 1: Table 2: Table 3: Table 4: Table 5: Table 6: Table 7: Table 8: Table 9: Table 10: Table 11: Table 12: Table 13: Table 14: Table 15: Table 16: Table 17: Table 18: Table 19: Table 20: Table 21: Table 22: Table 23: Table 24: Table 25: Table 26: Table 27: Table 28: Table 29: Table 30: Table 31: Table 32: Table 33: Page
Microprocessor Bus Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 Modes of Operation (P and Stand-Alone Mode) . . . . . . . . . . . . . . . . . . .26 Test Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 DOUT Driver Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 Microprocessor Interface Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 U-Frame Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 EOC-Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 Executed EOC Commands in Auto Mode . . . . . . . . . . . . . . . . . . . . . . . . .53 Mon-1 S/Q-Channel Commands and Indications . . . . . . . . . . . . . . . . . . . .54 Mon-1 M-Bit Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 MON-2 Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56 Control of Overhead Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56 Mon-8 Local Function Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 Timers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68 U-Transceiver C/I Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75 B1/B2-Channel Data Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82 D-channel data registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82 S/G Processing Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89 Control Structure of the S/G Bit and of the D-Channel . . . . . . . . . . . . . . .90 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93 MON-8 and C/I-Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94 U-Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100 Register Address Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112 Register Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113 Timing Characteristics (serial P interface mode) . . . . . . . . . . . . . . . . . .141 IOM-2 in NT Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .143 Power Controller Interface Dynamic Characteristics . . . . . . . . . . . . . . . .145 Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146 U-Transformer Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .149 Crystal Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151 State Machine Input Signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159 State Machine Output Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159 U-Transceiver C/I Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .162
Semiconductor Group
7
11.97
PSB 21911 PSF 21911
Overview 1 Overview
The PSB 21911, IEC-Q TE Version 5.2, is a specific derivative of the PEB 2091, IEC-Q for terminal and small PBX applications. It features all necessary functions required for NTs and terminal applications like PC add-on cards and terminal adapters. In stand-alone mode the PSB 21911 IEC-Q TE Version 5.2 can be used fully pin compatible to IEC-Q V4.4 and former versions. In P mode it offers a parallel or serial microprocessor interface. The Processor Interface (PI) of the IEC-Q TE V 5.2 establishes the access of a microprocessor between U-interface and IOM-2. It's main function is illustrated in figure 1.
FSC IOM -2
R
U
IOM -2
R
U
PI
ITS10193
Figure 1
Stand-Alone Mode (left) and P Mode (right)
In P mode B channels, D channel, C/I codes and Monitor commands can either be passed between the U-transceiver and IOM-2 directly, or they can be looped through the P via the PI. Any selection of "passed" or "looped" channels can be programmed via a control register. The P-interface mode is enabled by setting the pin PMODE to "1". This pin was not to be connected in older versions of the IEC-Q. Its internal pull down resistor selects the stand-alone mode, if the pin is left open. In stand-alone mode the IEC-Q TE is controlled exclusively via the IOM-2 interface and mode selection pins.
Semiconductor Group
8
11.97
ISDN Echocancellation Circuit for Terminal Applications IEC-Q TE
Version 5.2 1.1 Features
PSB 21911
CMOS
* ISDN U-transceiver with IOM-2 and optional microprocessor interface * Compatible to NT modes and TE mode of PEB 2091 IEC-Q V5.1 * Perfectly suited for terminal and TA applications * U-interface (2B1Q) conform to ANSI T1.601, ETSI ETR 080 and CNET ST/LAA/ELR/DNP/822: - Meets all transmission requirements on all ANSI, ETSI and CNET loops with margin - Conform to British Telecom's RC7355E - Compliant with ETSI 10ms micro interruptions * IOM-2 interface for connection of e.g. ISAC-S, SICOFI-2/4TE, ARCOFI, ITAC, HSCX-TE, ISAR, IPAC, 3PAC * Pin compatible to version 4.4 in the P-LCC-44 package
P-LCC-44
T-QFP-64 In P mode: * * * * * * * Parallel or serial microprocessor interface and watchdog P access to B-channels, D-channel and intercommunication channels P access to IOM-2 Monitor-channels and C/I-channels Adjustable microcontroller clock source between 0.96MHz and 7.68MHz Selection between Bit clock (BCL) and Data clock (DCL) Supports synchronization of basestations in cordless applications (e.g. RITL) Supports D-channel arbitration with ELIC linecard (e.g. PBX)
In all modes: * Single 5 Volt power supply * Low power CMOS technology with power down mode
Semiconductor Group
9
11.97
PSB 21911 PSF 21911
Logic Symbol P Mode 1.2 Logic Symbol P Mode
Figure 2
Logic Symbol P Mode
Semiconductor Group
10
11.97
PSB 21911 PSF 21911
Logic Symbol Stand-Alone Mode 1.3 Logic Symbol Stand-Alone Mode
Figure 3
Logic Symbol Stand-Alone Mode
Semiconductor Group
11
11.97
PSB 21911 PSF 21911
Pin Configuration 1.4 Pin Configuration
RES DOUT DIN GNDd/D7/AD7 GNDd/A0/SMODE GNDd PS2 PS1 TP1/CCLK/ALE INT/INT AUTO/RST
28 27 26 25 24 23 22 21 20 19 18 TP FSC DCL CLS A3/MS0 DS/RD/MTO CDOUT/A2/MS1 CDIN/A1/MS2 MCLK/DISS D6/AD6/PCA1 D5/AD5/PCA0 29 30 31 32 33 34 35 36 37 38 39 17 16 15 14 13 12 11 10 9 8 7 DOD/WR/R/W GNDa2 AIN BIN VDDa2 PMODE XIN XOUT VREF VDDa1 VDDa1
IEC-Q TE PSB 21911
40 41 42 43 44 1 2 3 4 5 6
AD4/D4/PCWR AD3/D3/PCRD AD2/D2/PCD2 AD1/D1/PCD1 AD0/D0/PCD0 VDDd VDDd CS/TSP BOUT GNDa1 AOUT
ITP10290
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 N.C. N.C. TP FSC DCL CLS A3/MS0 N.C. DS/RD/MTO CDOUT/A2/MS1 CDIN/A1/MS2 MCLK/DISS D6/AD6/PCA1 D5/AD5/PCA0 N.C. N.C. 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 DOD/WR/R/W N.C. GNDa2 AIN BIN N.C. VDDa2 N.C. PMODE XIN XOUT VREF N.C. VDDa1 VDDa1 N.C.
ITP10217
Figure 4
Pin Configuration P-LCC-44 and T-QFP-64 Package (top view)
Semiconductor Group
AD4/D4/PCWR AD3/D3/PCRD AD2/D2/PCD2 AD1/D1/PCD1 AD0/D0/PCD0 N.C. VDDd VDDd N.C. CS/TSP N.C. VDDd BOUT GNDa1 N.C. AOUT
N.C. RES DOUT DIN GNDd/D7/AD7 GNDd/A0/SMODE N.C. GNDd N.C. PS2 PS1 TP1/CCLK/ALE INT/INT AUTO/RST N.C. N.C.
IEC-Q TE PSB 21911
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
12
11.97
PSB 21911 PSF 21911
Pin Definitions and Functions 1.5 Pin Definitions and Functions
The following tables group the pins according to their functions. They include pin name, pin number, type and a brief description of the function. Pin No. Symbol alone Power Supply Pins 1, 2 5 7, 8 9 13 16 23 7, 8, 12 14 18, 19 21 26 30 41
VDDd VDDa1 VREF VDDa2 VDDd VDDa1 VREF VDDa2
I/O P mode
Function
P-LCC-44 T-QFP64 Stand-
I I I O I I I
5 V 5% digital supply voltage 0 V analog 5 V 5% analog supply voltage
VREF pin to buffer internally generated voltage with capacitor 100 nF vs GND
GNDa1 GNDa1
5 V 5% analog supply voltage 0 V analog 0 V digital
GNDa2 GNDa2 GNDd GNDd
Mode Selection Pins 3 10 TSP I Single Pulse Test Mode For activation refer to table 3 on page 27. When active, alternating 2.5 V pulses are issued in 1.5 ms intervals. Tie to GND if not used. CS I Chip Select (Multiplexed, demultiplexed and serial modes): Low active. 18 35 AUTO I Auto EOC Mode Selection between autoand transparent mode for EOC channel processing. (Automode = (1)) RST O Reset output (Multiplexed, demultiplexed and serial modes): Low active.
Semiconductor Group
13
11.97
PSB 21911 PSF 21911
Pin Definitions and Functions Pin No. Symbol alone 24 43 GNDd P mode I GNDd Must be connected to GNDd in standalone mode. A0 I Address Bus Pin (Demultiplexed mode) SMODE I Serial Mode Pin: SMODE = 1 selects serial mode, SMODE = 0 enables the multiplexed mode. GNDd Must be connected to GNDd in standalone mode. D7 AD7 I/O I/O Data Bus Pin (Demultiplexed modes) Address Data Bus Pin (Multiplexed mode) not used I 33 55 MS0 I not used I A3 not used 35 58 MS1 I not used I A2 I I (Serial mode) tie to GND. Mode Selection 0 refer to table 2 on page 26. (Multiplexed mode) tie to GND. Address Bus Pin (Demultiplexed modes). (Serial mode) tie to GND. Mode Selection 1 refer to table 2 on page 26. (Multiplexed mode) tie to GND. Address Bus Pin (Demultiplexed modes). CDOUT O Controller Data Out CCLK determines the data rate. CDOUT is "high Z" if no data is transmitted. I/O Function
P-LCC-44 T-QFP64 Stand-
25
44
GNDd
I
Semiconductor Group
14
11.97
PSB 21911 PSF 21911
Pin Definitions and Functions Pin No. Symbol alone 36 59 MS2 P mode I not used I A1 CDIN 28 47 RES RES I I I Mode Selection 2 refer to table 2 on page 26. (Multiplexed mode) tie to GND. Address Bus Pin (Demultiplexed modes). Controller Data In (Serial mode) CCLK determines the data rate. Reset Low active, must be (0) at least for 10 ns. Refer also to table 3 on page 27 for test modes invoked with this pin. Power Controller Interface Pins 44 5 PCD0 Data Bus 0 of Power Controller (PU) Interface internal pull-up. AD0 D0 I/O I/O Address/Data Bus Pin (Multiplexed mode) Data Bus Pin (Demultiplexed modes) not used I 43 4 PCD1 I/O (Serial mode) tie to GND. Data Bus 1 of Power Controller (PU) Interface Internal pull-up. AD1 D1 I/O I/O Address/Data Bus Pin (Multiplexed mode) Data Bus Pin (Demultiplexed modes) not used I (Serial mode) tie to GND. I/O I/O Function
P-LCC-44 T-QFP64 Stand-
Semiconductor Group
15
11.97
PSB 21911 PSF 21911
Pin Definitions and Functions Pin No. Symbol alone 42 3 PCD2 P mode Data Bus 2 of Power Controller (PU) Interface Internal pull-up. AD2 D2 I/O I/O Address/Data Bus Pin (Multiplexed mode) Data Bus Pin (Demultiplexed modes) not used I 39 62 PCA0 D5 AD5 O I/O I/O (Serial mode) tie to GND. Address bus 0 of Power Controller Interface. Data Bus Pin (Demultiplexed modes) Address Data Bus Pin (Multiplexed mode) not used I 38 61 PCA1 D6 AD6 O I/O I/O (Serial mode) tie to GND. Address bus 1 of Power Controller Interface Data Bus Pin (Demultiplexed modes) Address Data Bus Pin (Multiplexed mode) not used I 41 2 PCRD D3 AD3 O I/O I/O (Serial mode) tie to GND. Power Controller Bus Read Request Low active. Data Bus Pin (Demultiplexed modes) Address/Data Bus Pin (Multiplexed mode) not used I (Serial mode) tie to GND. I/O I/O Function
P-LCC-44 T-QFP64 Stand-
Semiconductor Group
16
11.97
PSB 21911 PSF 21911
Pin Definitions and Functions Pin No. Symbol alone 40 1 PCWR D4 AD4 P mode O I/O I/O Power Controller Bus Write Request Low active. Data Bus Pin (Demultiplexed modes) Address/Data Bus Pin (Multiplexed mode) not used I 19 36 INT I (Serial mode) tie to GND. Interrupt Change-sensitive. After a change of level has been detected the C/I code "INT" will be issued on IOM. Tie to GND if not used. INT O Interrupt Line (Multiplexed, demultiplexed and serial modes): Low active. 37 60 DISS O Disable Power Supply This pin is set to '1' after receipt of MON-0 LBBD in EOC auto-mode. MCLK O Microprocessor Clock Output (Multiplexed, demultiplexed and serial modes): provided with four programmable clock rates: 7.68 MHz, 3.84 MHz, 1.92 MHz and 0.96 MHz. Power Status 1 (primary). '1' indicates primary power supply ok. The pin level is identical to the overhead bit 'PS1' value. 22 39 PS2 PS2 I Power Status 2 (secondary) '1' indicates secondary power supply ok. The pin level is identical to the overhead bit 'PS2' value. I/O Function
P-LCC-44 T-QFP64 Stand-
21
38
PS1
PS1
I
Semiconductor Group
17
11.97
PSB 21911 PSF 21911
Pin Definitions and Functions Pin No. Symbol alone Miscellaneous Function Pins 10 22 XOUT XOUT O Crystal OUT To connect 15.36-MHz crystal. Leave open if not used. 11 23 XIN XIN I Crystal IN To connect 15.36-MHz crystal or external 15.36-MHz clock. 17 32 DOD I DOUT Open Drain Select open drain with DOD = (1) (external pull-up resistor required) and tristate with DOD = (0). See also table 4 on page 27. WR I Write (Siemens/Intel multiplexed and demultiplexed modes): indicates a write operation, active low. Read/Write (Motorola demultiplexed mode): indicates a read (high) or write (low) operation. (Serial mode) tie to GND. Test Pin P mode I/O Function
P-LCC-44 T-QFP64 Stand-
R/W
I
not used I 29 51 TP TP I
(PD) Not available to user. Do not connect. Internal pull-down resistor. 20 37 TP1 I Test Pin 1 (PD) Not available to user. Do not connect. Internal pull-down resistor. ALE I Address Latch Enable (Multiplexed mode): In the Siemens/ Intel P interface modes a high indicates an address on the AD0..3 pins which is latched with the falling edge of ALE (see also page 39).
11.97
Semiconductor Group
18
PSB 21911 PSF 21911
Pin Definitions and Functions Pin No. Symbol alone P mode ALE I Address Latch Enable (Demultiplexed mode): ALE tied to GND selects the Siemens/Intel type. ALE tied to VDD selects the Motorola type. Controller Data Clock (Serial mode): Shifts data from (1) and to (0) the device. Clock Signal A 7.68MHz clock, synchronous to the U-interface, is provided on this pin. 12 24 PMOD E PMODE I Processor Interface Enable (PD) Setting PMODE to "1" enables the Processor Interface. Tie to GND or do not connect to select stand-alone mode. Internal pull down. I Monitor Procedure Time-Out (PD) Disables the internal 6 ms Monitor time-out when set to (1). Internal pulldown resistor. RD I Read (Siemens/Intel multiplexed and demultiplexed modes): indicates a read operation, active low. Data Strobe (Motorola demultiplexed mode): indicates a data transfer, active low. (Serial mode) tie to GND. Leave open for future compatibility. I/O Function
P-LCC-44 T-QFP64 Stand-
CCLK
I
32
54
CLS
CLS
O
34
57
MTO
DS
I
not used I
6, 9, 11, not 15, 20, 25, used 27, 31, 33, 34, 40, 48, 49, 50, 51, 63, 64
not used
Semiconductor Group
19
11.97
PSB 21911 PSF 21911
Pin Definitions and Functions Pin No. Symbol alone IOM -2 Pins 31 53 DCL DCL O Data Clock Data clock output 512 or 1536 kHz (table 2 on page 26). In P mode this pin can be programmed to deliver a bit clock (256 or 768 kHz). 30 52 FSC FSC O Frame Synchronization Clock The start of the B1-channel in time-slot 0 is marked. FSC = (1) for one DCLperiod indicates a superframe marker. FSC = (1) for at least two DCL-periods marks a standard frame. 26 45 DIN DIN I Data In Input of IOM-2 data synchronous to DCL-clock (Data upstream direction). 27 46 DOUT DOUT O Data Out Output of IOM-2 data synchronous to DCL-clock. Open drain or tristate depending on bit/pin DOD (Data Downstream direction). U-Interface Pins 15 14 6 4 29 28 16 13 AIN BIN AOUT BOUT AIN BIN AOUT BOUT I I O O Differential U-Interface Input Connect to hybrid. Differential U-Interface Input Connect to hybrid. Differential U-Interface Output Connect to hybrid. Differential U-Interface Output Connect to hybrid.
(R)
I/O P mode
Function
P-LCC-44 T-QFP64 Stand-
PU: internal pull-up resistor PD: internal pull-down resistor
Semiconductor Group 20 11.97
PSB 21911 PSF 21911
Microprocessor Bus Interface (Overview) 1.6 Table 1 Microprocessor Bus Interface (Overview) Microprocessor Bus Interface Symbol in processor mode
The table below gives an overview of the different microprocessor bus modes.
Pin number Stand-alone mode
P-LCC 44 T-QFP 64
Siemens/ Intel multiplexed
Siemens/ Intel
demultiplexed
Motorola
demultiplexed
Serial
12 45 43 42 41 40 39 38 25 19 24 36 35 33 20 34 17 3 37 18
24 5 4 3 2 1 62 61 44 36 43 59 58 55 37 57 32 10 60 35
PMODE = 0 PCD0 PCD1 PCD2 PCRD PCWR PCA0 PCA1 GNDd INT GNDd MS2 MS1 MS0 TP1 MTO DOD TSP DISS AUTO AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 INT SMODE=0 n.c. n.c. n.c. ALE RD WR CS D0 D1 D2 D3 D4 D5 D6 D7 INT A0 A1 A2 A3 ALE=0 RD WR CS
PMODE = 1 D0 D1 D2 D3 D4 D5 D6 D7 INT A0 A1 A2 A3 ALE=1 DS R/W CS MCLK RST n.c. n.c. n.c. n.c. n.c. n.c. n.c. n.c. INT SMODE=1 CDIN CDOUT n.c. CCLK n.c. n.c. CS
Semiconductor Group
21
11.97
PSB 21911 PSF 21911
System Integration 1.7 System Integration
Due to the IOM-2 interface the IEC-Q TE can be combined with a variety of other devices to fit in numerous applications. This chapter only shows some typical applications of the IEC-Q TE. 1.7.1 ISDN PC Adapter Card
An ISDN adapter card which supports the U-interface may be realized using the IEC-Q TE together with the PSB 2113 3PAC (figure 5). The 3PAC provides a D-channel and two B-channel HDLC controllers. Optionally, a PSB 2132 SICOFI2-TE can be connected to provide two POTS interfaces. If an S-interface is required, the PSB 2115 IPAC can be used instead of the 3PAC.
Figure 5
ISDN PC Adapter Card
Semiconductor Group
22
11.97
PSB 21911 PSF 21911
System Integration 1.7.2 ISDN Stand-Alone Terminal with POTS Interface
The IEC-Q TE can be integrated in a microcontroller based stand-alone terminal (figure 6) that is connected to the communications interface of a PC. The PSB 2132 SICOFI-TE enables connection of analog terminals (e.g. telephones or fax) to its dual channel POTS interface.
Figure 6
ISDN Stand-Alone Terminal with POTS Interface
Semiconductor Group
23
11.97
PSB 21911 PSF 21911
System Integration 1.7.3 ISDN Feature Phone
An ISDN feature phone with U-interface can be built using the IEC-Q TE together with the ARCOFI-SP and the ICC.
Figure 7
ISDN Feature Phone
Semiconductor Group
24
11.97
PSB 21911 PSF 21911
System Integration 1.7.4 ISDN-Modem PC Card
The combination of the IEC-Q TE and a PSB 7115 ISAR 34 allows to build an ISDNmodem PC card .
Figure 8
ISDN-Modem PC Card
Semiconductor Group
25
11.97
PSB 21911 PSF 21911
Operating Modes 2 2.1 Functional Description Operating Modes
The default configuration after power-on or external reset depends on the state of the PMODE pin. The cases P mode and stand-alone mode have to be distinguished: P mode (PMODE = VDD) In P mode a microprocessor interface gives access to the IOM-2 channel registers as well as configuration registers. The operating mode is selected via bits STCR:MS0-MS2 according to table 2 . The STCR register is described on page 119. Test modes Send Single Pulses, Quiet Mode or Data Through are invoked via the corresponding C/I channel command (page 75) or via bits STCR:TM1-2 (table 3). Stand-alone mode (PMODE = GND) In stand-alone mode the operating mode is selected via pin strapping according to table 2. It is possible to change the mode of a device during operation (e.g. for test purposes) if the mode change is followed by a reset. The test modes Send Single Pulses (SSP), Quiet Mode (QM) and Data Through (DT) are invoked via the corresponding C/I channel command (page 75) or via pins RES and TSP (table 3). Table 2 Modes of Operation (P and Stand-Alone Mode) Mode Selection Mode Bit/Pin MS2 0 1 0 0 1 others Bit/Pin MS1 0 0 0 1 1 Bit/Pin MS0 0 0 1 0 0 Output Pins U Synchronized DCL OUT 512 512 512 1536 1536 CLS OUT 76802) 76802) 76802) 76802) 76802) Superframemarker1) no yes no no yes
NT NT NT-Auto TE TE reserved
Notes: 1) 1 DCL-period high-phase of FSC at superframe position 2 DCL-periods high-phase of FSC at normal position 2) CLS-clock signal not available while device is in power-down
Semiconductor Group
26
11.97
PSB 21911 PSF 21911
Operating Modes Table 3 Test-Mode Master-Reset1) Send Single-Pulses2) Data-Through3) Normal
1) 2) 3)
Test Modes Bit TM1/ Pin RES 0 1 0 1 Bit TM2/ Pin TSP 0 1 1 0
Used for Quiet Mode and Return Loss measurements Used for Pulse Mask measurements Used for Insertion Loss, Power Spectral Density and Total Power measurements
Table 4 Mode
DOUT Driver Modes Pin Pin Pin / 1) TSP 2) Bit RES DOD 0 1 1 0 0 0 x 0 1 Pin DOUT Output Driver Value DOUT in active time slot low int. pull-up low high low floating floating high Z DOUT in passive time slot int. pull-up
Pin-Reset Normal (Tristate) Normal (Open Drain 3))
1) 2)
0 1 0 1 0 1
In stand-alone mode and P mode Only in stand-alone mode. In P mode the output driver of pin DOUT is selected via bit DOD in the ADF2 register External pull-up resistors required (typ.1 k)
3)
Semiconductor Group
27
11.97
PSB 21911 PSF 21911
Device Architecture 2.2 * * * * * * Device Architecture see pp. 30 pp. 39, 81, 112 pp. 40 pp. 111 pp. 93
In P mode the following interfaces and functional blocks are used: IOM-2 interface Microprocessor interface U-transceiver Clock Generation Reset Factory Test Unit
Figure 9
IEC-Q TE Device Architecture (P Mode)
Semiconductor Group
28
11.97
PSB 21911 PSF 21911
Device Architecture In stand-alone mode the following interfaces and functional blocks are used: * * * * * * * * Mode Selection IOM-2 interface IOM-2 configuration U-transceiver Clock Generation Reset Power Controller Interface Factory Test Unit see pp. 26 pp. 30 pp. 36, 38 pp. 40 pp. 111 pp. 93 pp. 94
Figure 10 IEC-Q TE Device Architecture (Stand-Alone Mode)
Semiconductor Group
29
11.97
PSB 21911 PSF 21911
IOM(R)-2 Interface 2.3 IOM(R)-2 Interface
The IOM-2 interface is used to interconnect telecommunication ICs. It provides a symmetrical full-duplex communication link, containing user data, control/programming and status channels. The structure used follows the 2B + 1D-channel structure of ISDN. The ISDN user data rate of 144 kbit/s (B1 + B2 + D) is transmitted in both directions over the interface. The IOM-2 interface is a generalization and enhancement of the IOM-1 interface. 2.3.1 IOM(R)-2 Frame Structure
The IOM-2 interface comprises two clock lines for synchronization and two data lines. Data is carried over Data Upstream (DU) and Data Downstream (DD) signals. The downstream and upstream direction are always defined with respect to the exchange. Downstream refers to information flow from the exchange to the subscriber and upstream vice versa respectively. The IOM-2 Interface Specification describes open drain data lines with external pull-up resistors. However, if operation is logically point-topoint, tristate operation is possible as well. The data is clocked by a Data Clock (DCL) that operates at twice the data rate. Frames are delimited by an 8-kHz Frame Synchronization Clock (FSC). Incoming data is sampled on every second falling edge of the DCL clock.
Figure 11 IOM(R)-2 Clocks and Data Lines
Within one FSC period 32 bit or 96 bit are transmitted, corresponding to DCL frequencies of 512 kHz or 1.536 MHz. Two optimized IOM-2 timing modes exist: - NT mode for NT1 applications - TE mode for terminal and intelligent NT applications
Semiconductor Group
30
11.97
PSB 21911 PSF 21911
IOM(R)-2 Interface NT or TE mode is selected via pins MS0-2 in stand-alone mode and via bits MS0-2 in P mode. Both the NT and TE mode utilize the same basic frame and clocking structure, but differ in the number and usage of the individual channels.
Figure 12 Basic Channel Structure of IOM(R)-2 Each frame consists of two 64 kbit/s channels B1 and B2 the Monitor channel for transferring maintenance information two bits for the 16 kbit/s D-channel four command/indication (C/I) bits for controlling of layer-1 functions (U- and Stransceiver). * two bits MR and MX for the handshake procedure in the Monitor channel * * * *
2.3.1.1
TE Mode Frame Structure
In TE mode the IEC-Q TE provides a data clock DCL with a frequency of 1536 kHz. As a consequence the IOM-2 interface provides three channels each with a nominal data rate of 256 kbit/s. * Channel 0 contains 144 kbit/s (for 2B+D) plus Monitor and Command/Indication channels for the layer-1 device. * Channel 1 contains two 64-kbit/s intercommunication channels plus Monitor and Command/Indication channels for other IOM-2 devices. * Channel 2 is used for IOM bus arbitration (access to the TIC bus). Only the Command/ Indication bits are used in channel 2. The IOM-2 signals are: DIN, DOUT DCL FSC 768 kbit/s 1536 kHz output 8 kHz output
Semiconductor Group
31
11.97
PSB 21911 PSF 21911
IOM(R)-2 Interface
125 s
FSC IOM DD B1
R
Channel 0 MON0 C/I0 IC1
IOM
R
Channel 1 MON1 C/I1
IOM
R
Channel 2 C/I2 B1
B2
IC2
DU
B1
B2
MON0
C/I0
IC1
IC2
MON1
C/I1
C/I2
B1
ITD09787
Figure 13 Definition of the IOM(R)-2 Frame in TE Mode
- C/I0 in IOM(R)-2 Channel 0: DU / DD D: C/I: D D C/I4 C/I3 C/I2 C/I1 MR MX
two bits for the 16 kbit/s D-channel The four command/indication (C/I) bits are used for control of the Utransceiver (activation/deactivation and additional control functions). two bits MR and MX for the handshake in the Monitor channel 0
MR, MX:
- C/I1 in IOM(R)-2 Channel 1: DU / DD C/I6 C/I5 C/I4 C/I3 C/I2 C/I1 MR MX
C/I1 to C/I6 are used for control of a transceiver or an other device in IOM-2 channel 1 (activation/deactivation and additional control functions). MR, MX: two bits MR and MX for handshake in the Monitor channel 1
Semiconductor Group
32
11.97
PSB 21911 PSF 21911
IOM(R)-2 Interface - C/I2 in IOM(R)-2 Channel 2: DU DD E: BAC-bit S/G-bit A/B-bit TBA0-2: 1 E 1 E D-echo bits (Bus ACcessed). When the TIC bus is occupied the BAC-bit is low. (Stop/Go), available to a connected HDLC controller to determine if it can access the D-channel (S/G = 1: stop, S/G = 0: go). (available/blocked), supplementary bit for D-channel control. (A/B = 1: D-channel available, A/B = 0: D-channel blocked). TIC Bus Address BAC S/G TBA2 A/B TBA1 1 TBA0 1 1 1 1 1
2.3.1.2
NT Mode Structure
In NT mode the IEC-Q TE provides a data clock DCL with a frequency of 512 kHz. As a consequence the IOM-2 interface provides only one channel with a nominal data rate of 256 kbit/s. * Channel 0 contains 144 kbit/s (for 2B+D) plus Monitor and Command/Indication channels. The IOM-2 signals are: DIN, DOUT DCL FSC 256 kbit/s 512 kHz output 8 kHz output
125 s FSC
IOM Channel 0
DD
R
B1
B2
MONITOR
D
C/I
MM RX MM RX
ITD09788
DU
B1
B2
MONITOR
D
C/I
Figure 14 Definition of the IOM(R)-2 Frame in NT Mode
Semiconductor Group 33 11.97
PSB 21911 PSF 21911
IOM(R)-2 Interface 2.3.2 IOM(R)-2 Command / Indication Channels
The Command/Indication channels carry real-time control and status information over the IOM-2 interface. C/I Channel 0 C/I channel 0 (C/I0) is available in both operational modes (NT and TE mode). The channel consists of four bits in each direction. Activation and deactivation of the Utransceiver is always controlled via the C/I0 channel. The C/I codes going to the Utransceiver are called "commands", those originating from it are referred to as "indications". The C/I codes of the U-transceiver are listed and explained in chapter 2.5.8 on page 74. In stand-alone mode the C/I0 channel is controlled by an external device, e.g. the ICC, 3PAC, IPAC or ISAR. In P mode the C/I0 channel can either be controlled by an external device or via the microprocessor interface. For a description on how to access the C/I0 channel via the P-interface please refer to chapter 2.6.3 on page 83.
C/I Channel 1 C/I channel 1 (C/I1) is only available in TE mode (DCL = 1.536 MHz). The channel consists of six bits in each direction. In stand-alone mode the C/I1 channel is ignored by the U-transceiver. In P mode it can be accessed via registers CIWI/U and CIRI/U (page 83).
Semiconductor Group
34
11.97
PSB 21911 PSF 21911
IOM(R)-2 Interface 2.3.3 IOM(R)-2 Monitor Channel
The Monitor channel protocol is a handshake protocol used for programming and monitoring devices in Monitor channel "0" or "1". These can include the on-chip Utransceiver of the IEC-Q TE as well as external devices connected to the IOM-2 interface. The Monitor channel operates on an asynchronous basis. While data transfers on the bus take place synchronized to frame sync, the flow of data is controlled by a handshake procedure. For example: data is placed onto the Monitor channel and the MX bit is activated. This data will be transmitted repeatedly once per 8-kHz frame until the transfer is acknowledged via the MR bit.
Monitor Channel 0 Monitor channel 0 is available in both operational modes (NT and TE mode). The Utransceiver is always controlled and monitored via Monitor channel 0. The Monitor channel commands and indications of the U-transceiver are listed and explained on page 51-61. In stand-alone mode the Monitor channel is controlled by an external device, e.g. the ICC, 3PAC, IPAC or ISAR. In P mode the Monitor channel can either be controlled by an external device or via the microprocessor interface. For a description on how to access the Monitor 0 channel via the P-interface please refer to chapter 2.6.4 on page 84.
Monitor Channel 1 Monitor channel 1 is only available in TE mode (DCL = 1.536 MHz). The channel consists of six bits in each direction. In stand-alone mode the Monitor 1 channel is ignored by the U-transceiver. In P mode it can be accessed via the microprocessor interface (page 83) to control an external device (e.g. ARCOFI).
Semiconductor Group
35
11.97
PSB 21911 PSF 21911
IOM(R)-2 Interface Monitor Procedure 'Timeout' The U-transceiver offers an automatic reset (Monitor procedure "Timeout") for the Monitor routine. This reset function transfers the Monitor channel into the idle state (MR and MX set to high) by issuing "EOM" (End of Message) after a timer has elapsed. As an effect, unacknowledged Monitor messages sent by the U-transceiver are taken away from the Monitor channel. The U-transceiver checks for unacknowledged Monitor messages every 5 ms. In case the timer expires "EOM" will be issued. The U-transceiver does not repeat the message, hence it will be lost. In slow applications e.g. testing or evalution platforms this internal reset function may be disabled by setting - Pin MTO in stand-alone mode - Bit ADF2:MTO in P mode. If Monitor Timeout is disabled, no restrictions regarding the time for completing a Monitor transfer exists.
Semiconductor Group
36
11.97
PSB 21911 PSF 21911
IOM(R)-2 Interface 2.3.4 Activation/Deactivation of IOM(R)-2 Clocks
The IOM-2 clocks may be switched off if the U-transceiver is in state 'Deactivated'. This reduces power consumption to a minimum. In this deactivated state the clock lines are low and the data lines are high. The power-down condition within the 'Deactivated' state will only be entered if no Monitor messages are pending on IOM-2. For information on how to keep the IOM-2 clocks active in all states please refer to the application note 'Providing Clocks in Deactivated State' of 09.97. The deactivation procedure is shown in figure 15. After detecting the code DI (Deactivation Indication) the U-transceiver responds by transmitting DC (Deactivation Confirmation) during subsequent frames and stops the timing signals after the fourth frame.
a) FSC DI DIN DR DOUT Detail see Fig.b b) DCL DR DC DC DC DC DI DI DI DI DI
IOM -2 Interface deactivated
R
IOM -2 Interface deactivated
R
DIN
D
C/
C/
C/
C/
ITD10292
Figure 15 Deactivation of the IOM(R)-2 Clocks
The IOM-2 clocks are activated automatically when the DIN line is pulled low or a line activation is detected on the U-interface. If a PSB 2186 (ISAC-S TE) or PEB 2070 (ICC) is connected to the IEC-Q TE via IOM-2, the DIN line of the IEC-Q TE is pulled low by
Semiconductor Group
37
11.97
PSB 21911 PSF 21911
IOM(R)-2 Interface setting the SPU bit of the ISAC-S TE or ICC to '1'. Otherwise, the DU line has to be pulled to low via an I/O port of the microcontroller DCL is activated such that its first rising edge occurs with the beginning of the bit following the C/I0 channel. After the clocks have been enabled this is indicated by the PU code in the C/I0 channel. 2.3.5 Superframe Marker
The start of a new superframe on the U-interface may be indicated with a FSC highphase lasting for one single DCL-period. A FSC high-phase of two DCL-periods is transmitted for all other IOM-2 frame starts. The superframe marker is disabled if pin/bit MS2 = 0. 2.3.6 IOM(R)-2 Output Driver Selection
In P mode the output type of the IOM dataline DOUT is selectable via bit ADF2:DOD. In stand-alone mode it is configured via pin DOD. Bit/pin DOD set to 0 selects tristate (reset value) and DOD set to 1 selects open drain outputs. In the "open drain" mode pull-up resistors (1 k - 5 k) are required on DOUT. FSC and DCL always are push pull.
Semiconductor Group
38
11.97
PSB 21911 PSF 21911
Microprocessor Interface 2.4 Microprocessor Interface
The parallel/serial microprocessor interface can be selected to be either of the 1. Siemens/Intel non-multiplexed bus type with control signals CS, WR, RD 2. Motorola type with control signals CS, R/W, DS 3. Siemens/Intel multiplexed address/data bus type with control signals CS, WR, RD, ALE 4. Serial mode using control signals CDIN, CDOUT, CCLK and CS. The selection is performed via pins ALE/CCLK and SMODE as follows:
Table 5
Microprocessor Interface Modes ALE SMODE x x 0 1 0 1 edge edge
Siemens/Intel non-Mux Motorola Siemens/Intel Mux Serial
The occurrence of an edge on ALE/CCLK, either positive or negative, at any time during the operation immediately selects interface type 3 or 4. A return to one of the other interface types is possible only if a hardware reset is issued. 2.4.1 Microprocessor Clock Output
The microprocessor clock is provided in P mode on the MCLK-output. Four clock rates are provided by a programmable prescaler. These are 7.68 MHz, 3.84 MHz, 1.92 MHz and 0.96 MHz. Switching between the clock rates is realized without spikes. The oscillator remains active all the time. The clock is synchronized to the 15.36 MHz clock at the XIN pin. 2.4.2 Watchdog Timer
The watchdog is enabled by setting the SWST:WT bit to "1". The value of SWST:WT after hardware reset (pin RES low and pin TSP low) is "0". After the microcontroller has enabled the watchdog timer it has to write the bit patterns "10" and "01" in ADF:WTC1 and ADF:WTC2 within a period of 132 ms. If it fails to do so, a reset signal of 5 ms at pin RST is generated. The clock at pin MCLK remains active during this reset.
Semiconductor Group
39
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5 U-Transceiver
The U-interface establishes the direct link between the exchange and the terminal side over two copper wires. Transmission over the U-interface is performed at a rate of 80 kBaud. The code used is reducing two binary informations to one quaternary symbol (2B1Q) resulting in a total of 160 kbit/s to be transmitted. 144 kbit/s are user data (2B + D), 16 kbit/s are used for maintenance and synchronization information. The IEC-Q TE uses two differential outputs (AOUT, BOUT) and two differential inputs (AIN, BIN) for transmission and reception. These differential signals are coupled via a hybrid and a transformer to the two-wire U-interface. Figure 16 shows a block diagram of the U-transceiver which can be subdivided in three main blocks: SIU REC LIU System Interface Unit Receiver Line Interface Unit
The System Interface Unit (SIU) provides the connection of the U- and the IOMinterfaces. After scrambling/descrambling and rate adaptation the data channels (2B + D) are transferred to the appropriate frame. Complete activation and deactivation procedures are implemented, which are controlled by activation and deactivation indications from U- or IOM-interfaces. State transition of the procedures depend on the actual status of the receiver (adaptation and synchronization) and timing functions to watch fault conditions. Two different modes can be selected for maintenance functions: In the auto-mode all EOC-procedure handling and executing as specified by ANSI is performed. In the transparent mode all bits are transferred transparently to the IOM-2 interface without any internal processing. The Receiver block (REC) performs the filter algorithmic functions using digital signal processing techniques. Modules for echo cancellation, pre- and post-equalization, phase adaptation and frame detection are implemented in a modular multi-processor concept. The Line Interface Unit (LIU) contains the crystal oscillator and all of the analog functions, such as the A/D-converter and the awake unit in the receive path, the pulseshaping D/A-converter, and the line driver in the transmit path.
Note: Due to the integrated microprocessor interface the IEC-Q TE V5.2 has a few s more delay from IOM-2 to the U-interface than the IEC-Q V4.4. This may be relevant in very delay sensitive appplications like Radio in the Loop (RITL) and Wireless PBXs.
Semiconductor Group
40
11.97
Semiconductor Group
D A EOC Awake Control Timing Recovery Adapter EC Hybrid CRC Adapter EQ AGC + A D SIU REC LIU
FSC
Figure 16 U-Transceiver Block Diagram
DCL
R
DIN
41
IOM -2 Interface Framing
DOUT
ITB10152
PSB 21911 PSF 21911
U-Transceiver
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.1 U-Frame Structure
Each basic frame consists of 18 bits for the (inverted) synchronization word; 6 overheads bits are allocated for system functions, and 216 bits transfer the userdata of 2B + Dchannel (i.e. userdata of 12 IOM-frames is packed into one basic U-frame). Data is grouped together into U-superframes of 12 ms. The beginning of a new superframe is marked with an inverted synchronization word (ISW). Each superframe consists of eight basic frames (1.5 ms) which begin with a standard synchronization word (SW) and contain 222 bits of information (table 6).
Semiconductor Group
42
11.97
PSB 21911 PSF 21911
U-Transceiver Table 6 U-Frame Structure
Framing 2B + D Quat Positions Bit Positions Super Frame # 1 Basic Frame # 1 2 3 4 5 6 7 8 2,3... LT- to NT dir. > - - - - ISW SW CRC EOC Inverted Synchronization Word (quad): Synchronization Word (quad): Cyclic Redundancy Check Embedded Operation Channel a d/m i Activation bit ACT Deactivation bit DEA Cold Start Only CSO U-Only Activation UOA S-Activity Indicator SAI Far-end Block Error FEBE Power Status Primary Source PS1 Power Status Secondary Source PS2 NT-Test Mode NTM Alarm Indication Bit AIB Network Indication Bit NIB / < NT- to LT dir. 1-9 1 - 18 Sync Word ISW SW SW SW SW SW SW SW 10 - 117 19 - 234 2B + D 118 235 Overhead Bits (M1 - M6) 118 236 119 237 119 238 120 239 120 240
M1
M2
M3
M4 ACT/ ACT DEA / PS1 1/ PS2 1/ NTM 1/ CSO 1 UOA / SAI
M5 1 1 CRC1 CRC3 CRC5 CRC7 CRC9
M6 1 FEBE CRC2 CRC4 CRC6 CRC8 CRC10
2B + D EOCa1 EOCa2 EOCa3 2B + D 2B + D 2B + D EOC d/m EOCi3 EOCi6 EOCi1 EOCi4 EOCi7 EOCi2 EOCi5 EOCi8
2B + D EOCa1 EOCa2 EOCa3 2B + D 2B + D 2B + D EOC d/m EOCi3 EOCi6 EOCi1 EOCi4 EOCi7 EOCi2 EOCi5
EOCi8 AIB / NIB CRC11 CRC12
-3-3+3+3+3-3+3-3-3 +3+3-3-3-3+3-3+3+3 = address bit = data / message bit = information (data / message) = (1) -> Layer 2 ready for communication = (0) -> LT informs NT that it will turn off = (1) -> NT-activation with cold start only = (0) -> U-only activated = (0) -> S-interface is deactivated = (0) -> Far-end block error occurred = (1) -> Primary power supply ok = (1) -> Secondary power supply ok = (0) -> NT busy in test mode = (0) -> Interruption (according to ANSI) = (1) -> no function (reserved for network use)
- - - - - - - - - - -
ACT DEA CSO UOA SAI FEBE PS1 PS2 NTM AIB NIB
Semiconductor Group
43
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.1.1 Cyclic Redundancy Check
The cyclic redundancy check provides a possibility to verify the correct transmission of data. The checksum of a transmitted U-superframe is calculated from the bits in the Dchannel, both B-channels, and the M4 bits according to the CRC polynominal G (u) = u12 + u11 + u3 + u2 + u + 1 (+ modulo 2 addition) The check digits (CRC bits CRC1, CRC2, ..., CRC12) generated are transmitted at position M5 and M6 in the U-superframe. At the receiving side this value is compared with the value calculated from the received superframe. In case these values are not identical a CRC-error will be indicated to both sides of the U-interface. It is indicated as a NEBE (Near-end Block Error) on the side where the error is detected and as a FEBE (Far-end Block Error) on the remote side. The FEBE-bit will be placed in the next available U-superframe transmitted to the originator. Far-end or near-end error indications increment the corresponding block error counters of exchange and terminal side. The IEC-Q TE additionally issues a MON-1 message every time a NEBE or FEBE has occurred (chapter 2.5.3, page 54). The block error counters can be read via MON-8 commands (refer to chapter 2.5.5, page 59). It is not possible to directly access the CRC-checksum itself. Hence the user cannot read or write the checksum values. Figure 17 illustrates the CRC-process. Due to the scrambling algorithm described hereafter, a wrong bit decision in the receiver automatically leads to at least three bit errors. Whether all of these are recorded by a bit error counter depends on whether all faulty bits are part of the monitored channels (2B+D, M4) or not.
Semiconductor Group
44
11.97
PSB 21911 PSF 21911
U-Transceiver
IOM -2 DD
R
NT (2B + D), M4
U SFR(n)
LT
IOM -2 DD
R
G(u)
G(u)
CRC 1...CRC12
CRC 1 ... CRC 12
No
=? Yes
SFR(n+1) FEBE Error Counter
SFR(n+1.0625) FEBE = "1" SFR(4n+1.0625) FEBE = "0"
(MON-8)
(MON-1) NEBE (MON-8) DU G(u) NEBE Error Counter
SFR(n+0.0625)
(2B + D), M4 DU G(u)
CRC 1 ... CRC 12
CRC 1...CRC12
SFR(n+1.0625) FEBE Error Counter
=? Yes
No
(MON-8) (MON-1) FEBE
SFR(n+2) FEBE = "1" SFR(n+2) FEBE = "0"
NEBE Error Counter IEC-Q TE DFE-Q or IEC-Q
(MON-8)
ITD10196
Figure 17 CRC-Process
Semiconductor Group 45 11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.1.2 Block Error Counters
The U-transceiver provides internal counters for far-end and near-end block errors. This allows a comfortable surveillance of the transmission quality at the U-interface. In addition, MON-1 messages indicate the occurrence of near-end errors, far-end errors, and the simultaneous occurrence of both errors. A block error is detected each time when the calculated checksum of the received data does not correspond to the control checksum transmitted in the following superframe. One block error thus indicates that one U-superframe has not been transmitted correctly. No conclusion with respect to the number of bit errors is therefore possible. The following two sections describe the operation of near and far-end block error counters as well as the commands available to test them. Near-End and Far-End Block Error Counter A near-end block error (NEBE) indicates that the error has been detected in the receive direction (i.e. NEBE in the NT after an LT --> NT error). This will be indicated with a MON1-message NEBE. Each detected NEBE-error increments the 8-bit NEBE-counter. When reaching the maximum count, counting is stopped and the counter value reads (FFH). The current value of the NEBE counter is read with the MON-8 command RBEN. The response comprises two bytes: the first byte always indicates that a MON-8 message is replied to (80H), the second represents the counter value (00H) ... (FFH). Each read operation resets the counter to (00H). A far-end block error identifies errors in transmission direction (i.e. FEBE in the NT = NT => LT-error). FEBE errors are processed in the same manner as NEBE errors. A far-end block error will be indicated with a MON-1 message FEBE. The FEBE counter is read and reset with the MON-8 command RBEF. In case both, far-end and near-end block errors occur simultaneously, the MON-1 message FNBE will be issued. Both counters are also reset in all U-transceiver states except 'Synchronized', 'Wait for Act', 'Transparent' and 'Error S/T'.
Semiconductor Group
46
11.97
PSB 21911 PSF 21911
U-Transceiver Testing Block Error Counters Figure 18 illustrates how the IEC-Q TE supports testing of the LT's block error counters. Transmission errors are simulated with artificially corrupted CRCs. With two commands the cyclic redundancy checksum can be inverted in the downstream and in the upstream direction. A third command offers to invert single FEBE-bits. With EOC command NCC the LT notifies the NT of corrupted CRCs. Again, there are differences in the functional behavior of the NEBE-counter depending on the EOC mode: Auto-mode Transparent mode NEBE-detection stopped, no MON-1 NEBE-messages and NEBE-counter disabled NEBE-detection enabled, MON-1-message NEBE issued and NEBE-counter enabled
With EOC command RCC the LT requests the NT-side to send corrupted CRCs. In EOC auto mode the IEC-Q TE will react automatically with a permanently inverted upstream CRC. In EOC transparent mode this reaction has to be prompted by a MON-8 CCRC command. Note that MON-8 CCRC is not excecuted if it was not preceeded by the EOC command RCC. There are also differences in the functional behavior of the FEBE-counter depending on the EOC mode: EOC Auto mode FEBE-detection stopped, no MON-1 FEBE-messages and FEBE-counter disabled Transparent mode FEBE-detection enabled, MON-1-message FEBE issued and FEBE-counter enabled The EOC command RTN disables all previously sent EOC commands. In EOC transparent mode EOC command RTN must be followed by a MON-8 NORM command to become effective. With the MON-8-command SFB it is possible to invert single FEBE-bits. Because this command does not provoke permanent FEBE-bit inversion but sets only one FEBE-bit to (0) per SFB command, it is possible to predict the exact FEBE-counter reading.
Semiconductor Group
47
11.97
PSB 21911 PSF 21911
U-Transceiver
IOM
R
-2
EOC Transparent
EOC Auto-Mode STOP ERROR DETECT
U EOC : NCC EOC Acknowledge Start Inverse CRC Bits FEBE = "0"
LT
IOM
R
-2
(MON-0) NCC (MON-0) ACK
(MON-0) NCC (MON-0) ACK (MON-8) CCRC (MON-8) RBEF
(MON-1) NEBE
ERROR COUNT NEBE
End Inverse CRC Bits (MON-0) RTN (MON-0) ACK EOC : RTN EOC Acknowledge
ERROR COUNT FEBE
(MON-8) NORM (MON-0) RTN (MON-0) ACK
FREE ERROR DETECT
(MON-0) RCC (MON-0) ACK (MON-8) CCRC (MON-1) FEBE ERROR COUNT FEBE
STOP ERROR DETECT
EOC : RCC EOC Acknowledge Start Inverse CRC Bits FEBE ="0" ERROR COUNT NEBE EOC : RTN
(MON-0) RCC (MON-0) ACK
(MON-8) RBEN
(MON-0) RTN (MON-0) ACK FREE ERROR DETECT
(MON-0) RTN
EOC Acknowledge End Inverse CRC Bits DFE-Q/IEC-Q
ITD10197
IEC-Q TE
IEC-Q TE
Figure 18 Block Error Counter Test
Semiconductor Group
48
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.1.3 Scrambler / Descrambler
The scrambling algorithm as defined by ANSI T1.601 ensures that no sequences of permanent binary 0s or 1s are transmitted. The algorithms used for scrambling and descrambling are described in figure 19. The scrambling/descrambling process is controlled fully by the IEC-Q TE. Hence, no influence can be taken by the user. Please refer to page 77 for a description of loop 3.
Transmit Scrambler in normal operation without Loop-Back 3 Ds Di x-1 x-1 x-1 x-1 Ds . x-18 Ds = Di + Ds . x-18 + Ds . x-23 x-1 Ds . x-23
Transmit Scrambler for Loop-Back 3 Ds Di x-1 x-1 x-1 x-1 Ds . x-5 Ds = Di + Ds . x-5 + Ds . x-23 x-1 Ds . x-23
Receive Descrambler in normal operation without Loop-Back 3 Ds Do x-1 x-1 x-1 x -1 Ds . x-5 Do = Ds (1 + x-5 + x-23 ) x -1 Ds . x-23
Receive Descrambler for Loop-Back 3 Ds Do x-1 x-1 x-1 x-1 Ds . x-18 Do = Ds (1 + x-18 + x-23 ) x-1 Ds . x-23
ITD09730
Figure 19 Scrambler / Descrambler Algorithms
Semiconductor Group
49
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.1.4 Embedded Operations Channel (EOC)
EOC-data is inserted into the U-frame at the positions M1, M2 and M3 thereby permitting the transmission of two complete EOC-messages (2 x 12 bits) within one U-superframe. The EOC contains an address field, a data/message indicator (d/m) and an eight-bit information field. With the address field the destination of the transmitted message/data is defined. Addresses are defined for the NT, 6 repeater stations and broadcasting. The data/message indicator needs to be set to (1) to indicate that the information field contains a message. If set to (0), numerical data is transferred to the NT. Currently no numerical data transfer to or from the NT is required. From the 256 codes possible in the information field 64 are reserved for non-standard applications, 64 are reserved for internal network use and eight are defined by ANSI/ ETSI for diagnostic and loop-back functions. All remaining 120 free codes are available for future standardization. Table 7 EOC-Codes EOC Address d/m Information Direction (hex)
i1 - i8
Message
Function
a1 a2 a3 0 1 0 1 0 1 0 1 0 1 1 0
d/m x x x
NT Broadcast Repeater stations No. 1 - No. 6 Data Message
50 51 52 53 54 FF 00 NT <---- LT NT <---- LT NT <---- LT NT <---- LT NT <---- LT NT <---- LT NT <---> LT
0 1
1 1 1 1 1 1 1
LBBD LB1 LB2 RCC NCC RTN H
Close complete Loop Close Loop B1 Close Loop B2 Request Corrupt CRC Notify of corrupt CRC Return to normal Hold
Semiconductor Group
50
11.97
PSB 21911 PSF 21911
U-Transceiver Table 7 EOC-Codes (cont'd) EOC Address d/m Information Direction (hex)
i1 - i8 AA XX NT ----> LT NT ----> LT
Message
Function
a1 a2 a3
d/m 1 1
UTC ACK
Unable to comply Acknowledge
2.5.2
EOC-Processor and MON-0
An EOC-processor on the chip is responsible for the correct insertion and extraction of EOC-data on the U-interface. The EOC-processor can be programmed to auto mode (default) or transparent mode via bit EOCA in the UMOD register (table 20). Access to the EOC is only possible when a superframe is transmitted. This is the case in the Utransceiver states 'Synchronized', 'Wait for ACT', 'Transparent', 'Error S/T' and 'Pend. Deac. U'. In all other states the EOC-bits on the U-interface are clamped to high.
IOM-2 MON-0
Auto mode Pin AUTO = 1 or Bit STCR:AUTO = 1
EOCprocessor 3x
U EOC
IOM-2 MON-0
Transparent Pin AUTO = 0 or Bit STCR:AUTO = 0
U EOC
Excecute
Echo
EOC
MON-0
EOC
Figure 20 EOC-Processor: Auto Mode, Transparent Mode The EOC is controlled and monitored via MON-0 commands and messages in the IOM-2 Monitor channel. The structure of a MON-0-message is shown below. The structure is identical in EOC auto and transparent mode.
Semiconductor Group
51
11.97
PSB 21911 PSF 21911
U-Transceiver MON-0 Structure 1. Byte 0000 MON-0 Addr: Address AAA|X Addr. | d/m - 0 = NT - 1 ... 6 = Repeater - 7 = Broadcast - 0 = Data - 1 = Message - 00 ... FFH = coded EOC command/indication i1 i2 i3 i4 EOC Code 2. Byte i5 i6 i7 i8
d/m: i1-i8:
Data/Message EOC Code
EOC Auto Mode Acknowledgment: All received EOC-frames are echoed back to the exchange immediately without triple-last-look. If an address other than (000B) or (111B) is received, a HOLD message with address 000B is returned. However, there is an exception: The IEC-Q TE will send a 'UTC' after three consecutive receptions of d/m = (0) or after an undefined command. Latching: All detected EOC-commands are latched, i.e. they are valid as long as they are not disabled with the EOC 'RTN' command or a deactivation. Transfer to IOM: With the triple-last-look criteria fulfilled the new EOC-command will be passed to IOM-2 with one single MON-0-message, independently of the address used and the status of the d/m indicator. MON-0-commands from IOM will be ignored. Execution: The EOC-commands listed in table 8 will be executed automatically by the PSB 21911 if they were addressed correctly (000B or 111B) and the d/m bit was set to message (1). The execution of a command is performed only after the "triple-last-look" criterion is met.
Semiconductor Group
52
11.97
PSB 21911 PSF 21911
U-Transceiver Table 8 EOC-code
i1 - i8 (Hex)
Executed EOC Commands in Auto Mode Direction D LBBD U Close complete loop-back (B1, B2, D). The U-transceiver does not close the complete loop-back immediately after receipt of this code. Instead it issues the C/I-command AIL (in "Transparent" state) or ARL in the states "Error S/T" and "Synchronized". This allows the downstream device to close the loop-back if desired (e.g. S-transceiver or microcontroller). Closes B1 loop-back in NT. All B1-channel data will be looped back within the U-transceiver. Closes B2 loop-back in NT. All B2-channel data will be looped back within the U-transceiver. Request corrupt CRC. Upon receipt the IEC-Q TE transmits corrupted (= inverted) CRCs upstream. This allows to test the near end block error counter on the LTside. The far end block error counter at the NT-side is disabled and NT-error indications (MON-1) are suppressed. Notify of corrupt CRC. Upon receipt of NCC the near end block error counter is disabled and error indications are suppressed. This prevents wrong error counts while corrupted CRCs are sent. Return to normal. With this command all previously sent EOC-commands will be released. The EOC-processor is reset to its initial state (FFH). Function
50
51 52 53
LB1 LB2 RCC
54
NCC
FF
RTN
EOC Transparent Mode In transparent mode no acknowledgment, no triple-last-look and no execution of the received commands is performed. The received EOC-frame is transmitted directly downstream via a MON-0-message. Thus, a MON-0-message is issued on IOM every 6 ms. Acknowledgment and execution of the received command have to be initiated by the microcontroller. The microcontroller can execute all defined test functions (close/ open loops, send corrupted CRCs) in the NT using MON-8-commands. In the upstream direction the last incoming EOC-code from the IOM-2-Monitor channel is transmitted to the LT.
Semiconductor Group 53 11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.3 Maintenance (MON-1)
This category comprises commands and messages relating to maintenance bits of the U-interface and the self-test according to ANSI T1.601. The commands and messages may be mapped to the S/Q channel of the S/T-interface via the microprocessor. This provides a method to exchange U-interface related information between a terminal on the S-bus and the NT. Thus, the terminal can be informed about transmission errors that occurred on the U-interface (NEBE, FEBE, FNBE) or request the NT to perform a selftest (ST). MON-1 messages are two bytes long. The first nibble of the second byte contains S/Qindications, the second nibble contains maintenance bit related commands. The operation of MON-1-messages is identical in auto- and transparent mode. The following tables give an overview of indications available in the MON-1 category. MON-1 Structure 1. Byte 0001 MON-1 S/Q: M: 0000 SSSS S/Q-Code 2. Byte MMMM M-bits
S/Q-channel - 00 ... FFH = coded S/Q-command indication Maintenance bits - 00 ... FFH = set/reset maintenance bits
The following indications and maintenance bits are defined in MON-1-messages. Table 9 S/Q SSSS (Bin) 0001 Mon-1 S/Q-Channel Commands and Indications Direction D U ST Function S/Q-Channel Self-test request. This command is issued by the terminal to inquire whether layer 1 is present. No test is performed within the U-transceiver. Upon reception the U-transceiver replies with MON-1 "STP". Self-test pass. Indicates to the terminal that the Utransceiver has received the command "ST" correctly. Far-end block error. Via the FEBE bit set to (0) on the U-interface it is indicated to the NT that transmission errors occurred in the direction NT -> LT or NT -> LTRP.
0010 0100
STP FEBE
Semiconductor Group
54
11.97
PSB 21911 PSF 21911
U-Transceiver Table 9 S/Q SSSS (Bin) 1000 1100 1111 Mon-1 S/Q-Channel Commands and Indications (cont'd) Direction D NEBE FNBE U Function S/Q-Channel Near-end block error. Transmission errors occurred in the direction LT -> NT. Far- and near-end block error. Transmission errors were observed in LT -> NT direction. NORM Normal. Return to normal (idle) state. This command initiates no U-transceiver action.
Table 10 M-Bit 1xx0
Mon-1 M-Bit Commands Direction U NTM Function Maintenance Bits NT-test mode. After reception of this command the NTM-bit of the U-interface is set active (= 0) in order to inform the exchange that the NT is involved in testing and not available for transparent transmission. This message needs to be sent out by the downstream device if the terminal requests tests which prevent transparent transmission (e.g. loops B1, B2, D).
MMMM (Bin) D
1111
NORM Normal sets back the NTM-bit to 1. No other action taken.
Semiconductor Group
55
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.4 Overhead Bits (MON-2)
MON-2-indications are used to transfer all overhead bits (M4, M5, M6) except those representing EOC- and CRC-bits. Starting with the ACT-bit, the order is identical to the position of the bits at the U-interface. Table 11 MON-2 Structure 1. Byte 0010 MON-2 D0 ... 11: Overhead bits These bit positions in the MON-2-message correspond to the following overhead bits: Table 12 Control of Overhead Bits Upstream (Write) Bit ACT 1 1 PS1 1 FEBE PS2 NTM CSO 1 SAI 1 Control U-transc. MON-2 MON-2 Pin PS1 MON-2 U-transc./ MON-8 Pin PS2 MON-1 U-transc. MON-2 U-transc./ MON-2 MON-2 Downstream (Read) Bit ACT 1 1 DEA 1 FEBE 1 1 1 1 UOA 1 Control network network network network network network network network network network network network D11 D10 D9 D8 Overhead Bits 2. Byte D7 D6 D5 D4 D3 D2 D1 D0 Overhead Bits
Position MON-2/U D11/M41 D10/M51 D9/M61 D8/M42 D7/M52 D6/M62 D5/M43 D4/M44 D3/M45 D2/M46 D1/M47 D0/M48
Semiconductor Group
56
11.97
PSB 21911 PSF 21911
U-Transceiver Control via Network - All Downstream bits. Automatic control via U-transceiver - ACT (Activation bit) = (1) -> Layer 2 ready for communication - SAI (S Activity Indicator) = (0) -> S-interface is deactivated; can be controlled via MON-2 after MON-8 'PACE'. - FEBE (Far-end Block Error) = (0) -> Far-end block error occurred can additionally be controlled via MON-8-'SFB'. - CSO (Cold Start Only). = (0) -> U-transceiver is warm start capable; Control via Pins - PS1 (Power Prim. Source) - PS2 (Power Sec. Source) Control via MON-2 - only the undefined bits marked with binary '1' - SAI (S Activity Indicator) = (0) -> S-interface is deactivated; can be controlled via MON-2 after MON-8 'PACE'. Control via other MON-Commands - NTM (NT-Test Mode) = (0) -> NT busy in test mode (MON-1) - FEBE (Far-end Block Error);MON-8 message 'SFB' sets a single FEBE bit to '0' For details about the meaning of the overhead bits please refer to ETSI ETR 080 and ANSI T1.601. Overhead Bits Upstream Transmission - The upstream overhead bits are controlled by means of the U-transceiver due to its state, pins, MON-2 commands and other MON commands. - Only the undefined bits market with binary "1" may be controlled directly by a MON-2message. - All overhead bits are set to binary "1" when leaving a power-down state. Overhead Bits Downstream Reception - In the receive direction, the overhead bits of the last two U-interface superframes are compared and a MON-2-message defining all 12 bits is issued if a difference between both was found on at least one single bit other than the "FEBE" bit. Therefore, a MON2-message is sent not more often than once per superframe (12 ms interval).
Semiconductor Group 57 11.97
= (1) -> PS1 = (1) -> Prim. supply ok = (1) -> PS2 = (1) -> Sec. supply ok
PSB 21911 PSF 21911
U-Transceiver - In order to notify the controller of the initial system status, one MON-2-message is issued immediately after reaching the "Synchronized" state in NTmode. - The U-transceiver will not issue MON-2-messages while CRC-violations are detected. Because the CRC-checksum is transmitted one superframe later, a maximum of one corrupted MON-2-indication can be issued. In this case a MON-2-message indicating the correct system status will be issued after the transmitted CRC-checksum is again identical to the calculated checksum.
Semiconductor Group
58
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.5 Local Functions (MON-8)
Local functions are controlled via MON-8-commands. The following tables give an overview of structure and features of commands belonging to this category. Format of MON-8-Messages 1. Byte 1000 MON-8 r: r|000 Register | Addr. 2. Byte D7 D6 D5 D4 D3 D2 D1 D0 Local Command (Message/Data)
Register address - 0 = local function register - 1 = internal register
D0...7 Local command - 00 ... FFH = local function code - 00 ... FFH = internal register address The following local commands are defined. If a response is expected, it will comprise 4 bytes (2 messages a 2 bytes) if the value of an internal coefficient is returned, and 2 bytes in all other cases. In a two-byte response the first byte will indicate that a MON-8 answer is transmitted, the second byte contains the requested information. This procedure is repeated for a fourbyte transfer (MON-8, Info 1, MON-8, Info 2). Table 13 r 0 Code 1011 1110 Mon-8 Local Function Commands Direction U PACE Function Local Commands Partial Activation Control External. With the PACE-command issued, the U-transceiver will ignore the actual status of the received UOA-bit and behave as if the UOA-bit was set to (1). After issuing PACE the UOA/SAI-bits can be controlled by MON-2-commands. Partial Activation Control Automatic. PACA enables the device to interpret the UOA-bit and control the SAI-bit automatically. Partial activation and deactivation is therefore possible. The U-transceiver is automatically reset into this mode in the states "Test", "Receive Reset" and "Tear Down".
D7-D0 (Bin) D
0
1011 1111
PACA
Semiconductor Group
59
11.97
PSB 21911 PSF 21911
U-Transceiver Table 13 r 0 Code D7-D0 (Bin) 1111 0000 Mon-8 Local Function Commands (cont'd) Direction D U CCRC Function Local Commands Corrupt CRC. This command is only recognized if the device is set to EOC transparent mode. The microcontroller should issue the command in case the MON-0command RCC was received before. CCRC then causes corrupt CRCs to be transmitted upstream. Loop-back B1. The command is only recognized in EOC transparent mode. The microcontroller should issue the command in case the MON-0-command LB1 was received before. LB1 loops back the B1 channel. The loop is closed near the IOM-2 interface. Loop-back B2. The command is only recognized in EOC transparent mode. The microcontroller should issue the command in case the MON-0-command LB2 was received before. LB2 loops back the B2 channel. The loop is closed near the IOM-2 interface. Loop-back B1 + B2 + D. The command is used in the EOC transparent and EOC auto-mode. LBBD loops back both B-channels and the Dchannel. The loops are closed near the IOM-2 interface. In transparent mode the loop is closed unconditionally. In auto-mode the loop is closed only if LBBD was received in the EOC-channel before. Return to Normal. The NORM-command resets the device into its default mode, i.e. loops are resolved and corrupted CRCs are stopped. It is only used in transparent mode. Read Near-End Block Error Counter. The value of the near-end block error counter is returned and the counter is reset to zero. The maximum value is FFH.
0
1111 0100
LB1
0
1111 0010
LB2
0
1111 0001
LBBD
0
1111 1111
NORM
0
1111 1011
RBEN
Semiconductor Group
60
11.97
PSB 21911 PSF 21911
U-Transceiver Table 13 r 0 Code 1111 1010 Mon-8 Local Function Commands (cont'd) Direction U RBEF Function Local Commands Read Far-End Block Error Counter. The value of the far-end block error counter is returned and the counter is reset to zero. The maximum value is FFH. Answer Block Error Counter. The value of the requested block error counter is returned (8 bit). RID AID SFB DCOEF 1 1 bbbb bbbb bbbb bbbb Read Identification. Request for device identification. Answer identification. Reply to an RID is '03H'. Set FEBE Bit to 0 Data Coefficients, 2 bytes. Data bits D0 ... D 7, 1. byte Data bits D8 ... D15, 2. byte RCOEF Read Coeffiecient
D7-D0 (Bin) D
0 0 0 0 1
rrrrrrrr 0000 0000 rrrrrrrr 1111 1001 cccc cccc
ABEC
Notes: b ... b internal coefficient value c ... c internal coefficient address r ... r result from block error counter
Semiconductor Group
61
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.6 State Machine Notation Rules
The state machine includes all information necessary for the user to understand and predict the activation/deactivation status of the U-transceiver. The information contained in a state bubble is: State name, U-signal transmitted, Single Bits (Overhead bits) transmitted, C/Iindication transmitted on the C/I-channel, Transition criteria and Timers.
IN
Signal Transmitted to U-Interface (general) State Name
Single Bit Transmitted to U-Interface
Indication Transmitted on C/I-Channel (DD)
ITD04257
OUT
Figure 21 State Diagram Notation U-Transceiver The following example explains the use of the state diagram by an extract of the NTstate diagram. The state explained is the "EC-Training" state.
Example: The state may be entered by either of two methods: -from state "Alerting" after time T11 has expired. -from state "EC-Training 1" after the C/I command "DI" has been received. The following informantion is transmitted: -SN1 is sent on the U-interface. -No overhead bits are sent -C/I message "DC" is issued on the IOM-2 interface. The state is be left at occurrence of one of the following events: -Leave for state "EQ-Training" after LSEC has been detected. -Leave for state "EQ-Training" after timer T12 has expired.
Semiconductor Group
62
11.97
PSB 21911 PSF 21911
U-Transceiver Combinations of transition criteria are possible. Logical "AND" is indicated by "&" (TN & DC), logical "OR" is written "or" and for a negation "/" is used. The start of a timer is indicated with "TxS" ("x" being equivalent to the timer number). Timers are always started when entering the new state. The action resulting after a timer has expired is indicated by the path labelled "TxE".
2.5.7
State Machine
This chapter describes the activation and deactivation behavior of the IEC-Q TE. It applies for both NT and TE mode. 2.5.7.1 Cold and Warm Starts
Two types of start-up procedures are supported by the U-transceiver: cold starts and warm starts. Cold starts are performed after a reset and require all echo and equalizer coefficients to be recalculated. This procedure typically is completed after 1-7 seconds depending on the line characteristics. Cold starts are recommended for activations where the line characteristics have changed considerably since the last deactivation. A warm start procedure uses the coefficient set saved during the last deactivation. It is therefore completed much faster (maximum 300 ms). Warm starts are however restricted to activations where the line characteristics do not change significantly between two activations. Regarding the path in the transition diagram, cold starts have in particular that the Utransceiver has entered the state 'Test' (e.g. due to a reset) prior to an activation. The activation procedure itself is then identical in both cases. Therefore, the following sections apply to both warm and cold starts.
Semiconductor Group
63
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.7.2 State Diagram
. SN0 Pending Timing DC T 14 S
T14 E T14 S TL
T14 S
SN0 Deactivated DC
.
AR or TL
TIM or DIN = 0 DI
Any State Pin-SSP or Pin-RES or SSP or RES
. SN0 IOM R Awaked PU AR or TL
TN
DI . SN0/SP Test DR ARL T12S
DI T1S, T11S TN
T1S, T11S
.
.
T1S, T11S
. SN1 EC-Training AL DC
LSEC or T12E LSUE or T1E
Alerting DC PU T11E T12S . SN1 EC-Training DC LSEC or T12E SN0 EQ-Training DC
DI
. SN1 EC-Training 1 DR
(LSEC or T12E) & DI
Alerting 1 DR T11E T12S
SN3 act = 0 Wait for SF AL DC BBD1 & SFD SN3T act = 0 Analog Loop Back AR
.
BBD0 & FD T1E
. SN2 Wait for SF DC BBD0 & SFD
SN3/SN3T act = 0 Synchronized 1 DC uoa = 1 SN3/SN3T act = 0 Synchronized 2 AR/ARL AI SN3/SN3T act = 1 Wait for Act AR/ARL act = 1 act = 0 act = 1 SN3T Transparent AI/AIL act = 1 & AI SN3T act = 0 Error S/T AR/ARL LOF dea = 0 LSUE uoa = 0 dea = 0 LSUE uoa = 0 dea = 0 LSUE uoa = 0 dea = 0 LSUE dea = 0 uoa = 0 LSUE
LOF DI
act = 1/0 SN3 Pend. Deact. S/T DR LSUE dea = 0
LOF
LOF
LOF EI1 LOF Any State Pin-DT or DT EI 1
Yes uoa = 1 ? No
act = 0
. SN0 Pend. Receive Res. EI1 LSU or (/LOF & T13E) T7S . SN0 Receive Reset T7E DR & DI
T13S T7S TL
dea = 1 act = 1 SN3T Pend. Deact. U DC LSU
ITD09705
Figure 22 State Transition Diagram
Semiconductor Group
64
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.7.3 Inputs to the U-Transceiver
C/I-Commands AI Activation Indication The S-transceiver issues this indication to announce that the S-receiver is synchronized. The U-transceiver informs the LT side by setting the "ACT" bit to "1". Activation Request INFO1 has been received by the S-transceiver or the Intelligent NT wants to activate the U-interface. The U-transceiver is requested to start the activation process by sending the wake-up signal TN. Activation Request Local Loop-back The U-transceiver is requested to operate an analog loop-back (close to the Uinterface) and to begin the start-up sequence by sending SN1 (without starting timer T1). This command may be issued only after the U-transceiver has been reset by making use of the C/I-channel code RES or a hardware reset. This assures that the EC- and EQ-coefficient updating algorithms converge correctly. The ARL-command has to be issued continuously as long as the loop-back is required. Deactivation Indication This indication is used during a deactivation procedure to inform the Utransceiver that timing signals are needed no longer and that the U-transceiver may enter the deactivated (power-down) state. The DI-indication has to be issued until the U-transceiver has answered with the DC-code. Binary "0" polarity on DIN This asynchronous signal requests the U-transceiver to provide IOM clocks. Hereafter, binary "0s" in the C/I-channel (code TIM "0000" or any other code different from DI "1111") keep the IOM-2 interface active. Data Through This unconditional command is used for test purposes only and forces the Utransceiver into a state equivalent to the "Transparent" state. The far-end transceiver is assumed to be in the same condition. Error Indication 1 The S-transceiver indicates an error condition on its receive side (loss of frame alignment or loss of incoming signal). The U-transceiver informs the LT-side by setting the ACT-bit to "0" thus indicating that transparency has been lost. Reset Unconditional command which resets the whole chip; especially the EC- and EQ-coefficients are set to zero.
65 11.97
AR
ARL
DI
DIN = 0
DT
EI1
RES
Semiconductor Group
PSB 21911 PSF 21911
U-Transceiver SSP Send Single Pulses Unconditional command which requests the transmission of single pulses on the U-interface. The pulses are issued at 1.5 ms intervals and have a duration of 12.5 s. The chip is in the "Test" state, the receiver will not be reset. Timing In the NT-mode the U-transceiver is requested to continue providing timing signals and not to leave the "Power-up" state.
TIM
Pins Pin-Res Pin-Reset Corresponds to a low-level at pin RES or a power-on reset. The function of this pin is the same as of the C/I-code RES. C/I-message DR will be issued. The duration of the reset pulse must be longer than 10 ns. Pin-SSP Pin-Send Single Pulses Corresponds to a high-level at pin TSP in stand-alone mode. The function of this pin is the same as of the C/I-code SSP. C/I-message DR will be issued. The high-level must be applied continuously for single pulses. Pin-DT Pin-Data Through This function is activated when both pins RES and TSP are active in standalone mode (RES = '0' and TSP = '1'). The function of this pin is the same as of the C/I-code DT. C/I-message DR will be issued.
U-Interface Events The signals SLx and TL received on the U-interface are defined in table 22 on page 100 ACT ACT-bit received from LT-side. - ACT = 1 requests the U-transceiver to transmit transparently in both directions. As transparency in receive direction (U-interface to IOM) is already performed when the receiver is synchronized, the receipt of ACT = 1 establishes transparency in transmit direction (IOM to Uinterface), too. In the case of loop-backs, however, transparency in both directions of transmission is established when the receiver is synchronized. ACT = 0 indicates that the LT-side has lost transparency.
-
Semiconductor Group
66
11.97
PSB 21911 PSF 21911
U-Transceiver DEA DEA-bit received from the LT-side - DEA = 0 informs the U-transceiver that a deactivation procedure has been started by the LT-side. - DEA = 1 reflects the case when DEA = 0 was detected by faults due to e.g. transmission errors and allows the U-transceiver to recover from this situation (see state 'Pend. Deact. U'). UOA UOA-bit received from network side - UOA = 0 informs the U-transceiver that only the U-interface is to be activated. The S/T-interface must remain deactivated. - UOA = 1 enables the S/T-interface to activate. LOF Loss of Framing on the U-interface This condition is fulfilled if framing is lost for 576 ms. 576 ms are the upper limit. If the correlation between synchronization word and the input signal is not optimal, LOF may be issued earlier. LSEC LSU Loss of Signal level behind the Echo Canceler Internal signal which indicates that the echo canceler has converged. Loss of Signal level on the U-interface This signal indicates that a loss of signal level for a duration of 3 ms has been detected on the U-interface. This short response time is relevant in all cases where the NT waits for a response (no signal level) from the LT-side, i.e. after a deactivation has been announced (receipt of DEA = 0), after the NT has lost framing, and after timer T1 has elapsed. Loss of Signal level on the U-interface After a loss of signal has been noticed, a 588 ms timer is started. When it has elapsed, the LSUE-criterion is fulfilled. This long response time (see also LSU) is valid in all cases where the NT is not prepared to lose signal level i.e. the LT has stopped transmission because of loss of framing, an unsuccessful activation, or the transmission line is interrupted. Note that 588 ms represent a minimum value; the actual loss of signal might have occurred earlier, e.g. when a long loop is cut at the NT-side and the echo coefficients need to be readjusted to the new parameters. Only after the adjusted coefficients cancel the echo completely, the loss of signal is detected and the timer can be started (if the long loop is cut at the remote end, the coefficients are still correct and loss of signal will be detected immediately). Superframe (ISW) Detected on U-interface Frame (SW) Detected on U-interface
LSUE
SFD FD
Semiconductor Group
67
11.97
PSB 21911 PSF 21911
U-Transceiver TL Wake-up signal received from the LT The U-transceiver is requested to start an activation procedure. The TLcriterion is fulfilled when 12 consecutive periods of the 10-kHz wake-up tone were detected. When in the "Pending Timing" state and automatic activation after reset is selected (NT-AUTO mode), a recognition of TL is assumed every time the "Pending Timing" state has been entered from the "Test" state (caused by C/I code DI). This behavior allows the U-transceiver to initiate one single activation attempt after having been reseted. Binary "0s" or "1s" detected in the B- and D-channels This internal signal indicates that for 6-12 ms, a continuous stream of binary "0s" or "1s" has been detected. It is used as a criterion that the receiver has acquired frame synchronization and both its EC- and EQ-coefficients have converged. BBD0 corresponds to the signal SL2 in the case of normal activation and BBD1 corresponds to the internally received signal SN3 in case of an analog loop back in the NT-mode.
BBD0/1
Timers The start of timers is indicated by TxS, the expiry by TxE. The following table 14 shows which timers are used by the U-transceiver: Table 14 Timer T1 T7 T11 T12 T13 T14 Timers Duration (ms) Function 15000 40 9 5500 15000 0.5 Supervisor for start-up Hold time TN-transmission Supervisor EC-converge Frame synchronization Hold time Receive reset Alerting EC-training Pend. receive reset Pend. timing State
Semiconductor Group
68
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.7.4 Outputs of the U-Transceiver
Signals and indications are issued on IOM-2 (C/I-indications) and on the U-interface (predefined U-signals). C/I Indications AI Activation Indication The U-transceiver has established transparency of transmission in the direction IOM to U-interface. In an NT1, the S-transceiver is requested to send INFO4 and to achieve transparency of transmission in the direction IOM to S/ T-interface. Activation Indication Loop-back The U-transceiver has detected ACT = 1 while loop-back 2 is still established. In an NT1, the S-transceiver is requested to send INFO4 (if a transparent loopback 2 is to be implemented) and to keep loop-back 2 active. Activation Request The U-receiver has synchronized on the incoming signal. In an NT1, the Stransceiver is requested to start the activation procedure on the S/T-interface by sending INFO2. Activation Request Loop-back The U-transceiver has detected a loop-back 2 command in the EOC-channel and has established transparency of transmission in the direction IOM to Uinterface. In an NT1, the S-transceiver is requested to send INFO2 (if a transparent loop-back 2 is to be implemented) and to operate loop-back 2. Deactivation Confirmation Idle code on the IOM-2 interface. The U-transceiver stays in the power-down mode unless an activation procedure has been started from the LT-side. The U-interface may be activated but the S/T-interface has to remain deactivated. Deactivation Request The U-transceiver has detected a deactivation request command from the LTside for a complete deactivation or a S/T only deactivation. In an NT1, the Stransceiver is requested to start the deactivation procedure on the S/Tinterface by sending INFO0. Error Indication 1 The U-transceiver has entered a failure condition caused by loss of framing on the U-interface or expiry of timer T1.
AIL
AR
ARL
DC
DR
EI1
Semiconductor Group
69
11.97
PSB 21911 PSF 21911
U-Transceiver INT Interrupt (Stand-alone mode only) A level change on input pin INT triggers the transmission of this C/I code in four successive IOM-2 frames. Please refer to page 96 for details. Power Up The U-transceiver provides IOM-2 clocks.
PU
Signals on U-Interface The signals SNx, TN and SP transmitted on the U-interface are defined in Table 22 on page 100. The polarity of the transmitted ACT-bit is as follows: a = 0/1 corresponds to ACT-bit set to binary "0/1" The polarity of the issued SAI-bit depends on the received C/I-channel code: DI and TIM leads to SAI = 0, any other C/I-code sets the SAI-bit to 1 indicating any activity on the S/T-interface. 2.5.7.5 States
The following states are used: Alerting The wake-up signal TN is transmitted for a period of T11 either in response to a received wake-up signal TL or to start an activation procedure on the LT-side. Alerting 1 "Alerting 1" state is entered when a wake-up tone was received in the "Receive Reset" state and the deactivation procedure on the NT-side was not yet finished. The transmission of wake-up tone TN is started. Analog Loop-Back Upon detection of binary "1s" for a period of 6-12 ms and of the superframe indication, the "Analog loop-back" state is entered and transparency is achieved in both directions of transmission. This state can be left by making use of any unconditional command. Only the C/I-channel code RES should be used, however. This assures that the EC- and EQ-coefficients are set to zero and that for a subsequent normal activation procedure the receiver updating algorithms converge correctly. Deactivated The 'Deactivated' state is a power-down state. If there are no pending Monitor channel messages from the U-transceiver, i.e. all Monitor channel messages have been
Semiconductor Group 70 11.97
PSB 21911 PSF 21911
U-Transceiver acknowledged, the IOM-clocks are turned off. No signal is sent on the U-interface. The U-transceiver waits for a wake-up signal TL from the LT-side to start an activation procedure. To enter state 'IOM Awake' a wake-up signal (DIN = 0) is required if the IOMclocks are disabled. The wake-up signal is provided via the IOM-2 interface (pin DIN = 0). If the IOM-clocks were active in state 'Deactivated' C/I-code TIM is sufficient for a transition to state 'IOM Awake'. EC Training The signal SN1 is transmitted on the U-interface to allow the NT-receiver to update the EC-coefficients. The automatic gain control (AGC), the timing recovery and the EQ updating algorithm are disabled. The "EC-training" state is left when the EC has converged (LSEC) or when timer T12 has elapsed. EC-Training 1 The "EC-Training 1" state is entered if transmission of signal SN1 has to be started and the deactivation procedure on the NT-side is not yet finished. EC-Training AL This state is entered in the case of an analog loop-back. The signal SN1 is transmitted on the U-interface to allow the NT-receiver to update the EC-coefficients. The automatic gain control (AGC), the timing recovery and the EQ updating algorithm are disabled. The "EC-training" state is left when the EC has converged (LSEC) or when timer T12 has elapsed. EQ-Training The receiver waits for signal SL1 or SL2 to be able to update the AGC, to recover the timing phase, to detect the synch-word (SW), and to update the EQ-coefficients. The "EQ-training" state is left upon detection of binary "0s" in the B- and D-channels for a period of 6-12 ms corresponding to the detection of SL2. Error S/T Loss of framing or loss of incoming signal has been detected on the S/T-interface (EI1). The LT-side is informed by setting the ACT-bit to "0" (loss of transparency on the NTside). The following codes are issued on the C/I-channel: - Normal activation or single-channel loop-back: - Loop-back 2: IOM(R)-2 Awaked Timing signals are delivered on the IOM-2 interface. The U-transceiver enters the "Deactivated" state again upon detection of the C/I-channel code DI (idle code).
Semiconductor Group 71 11.97
AR ARL
PSB 21911 PSF 21911
U-Transceiver Pending Deactivation of S/T The U-transceiver has received the UOA-bit at zero after a complete activation of the S/ T-interface. The U-transceiver deactivates the S/T-interface by issuing DR in the C/Ichannel. The value of the ACT-bit depends on its value in the previous state. Pending Deactivation of U-Interface The U-transceiver waits for the receive signal level to be turned off (LSU) to enter the "Receiver Reset" state and start the deactivation procedure. Pending Receive Reset The "Pending Receive Reset" state is entered upon detection of loss of framing on the U-interface or expiry of timer T1. This failure condition is signalled to the LT-side by turning off the transmit level (SN0). The U-transceiver then waits for a response (no signal level LSU) from the LT-side to enter the "Receive Reset" state. Pending Timing The pending timing state assures that the C/I-channel code DC is issued four times before the timing signals on the IOM-2 interface are turned off. In case the NT-auto mode (Pin AUA=1) is selected the recognition of the LT wake-up tone TL is assumed everytime the "Pending Timing" state has been entered from the "Test" state. This function guarantees that the NT (in NT-auto mode) starts one single activation attempt after having been resetted. After the assumed TL recognition in this state the activation will proceed normally. Receive Reset The "Receive Reset" state is entered upon detection of a deactivation request from the LT-side, after a failure condition on the U-interface (loss of signal level LSUE), or following the "Pending Reset" state upon expiry of timer T1 or loss of framing. No signal is transmitted on the U-interface, especially no wake-up signal TN, and the S-transceiver or microcontroller is requested to start the deactivation procedure on the NT-side (DR). Timer T7 assures that no activation procedure is started from the NT-side for a minimum period of T7. This gives the LT a chance to activate the NT. The state is left only after completion of the deactivation procedure on the NT-side (receipt of the C/I-channel code DI), unless a wake-up tone is received from the LT-side.
Semiconductor Group
72
11.97
PSB 21911 PSF 21911
U-Transceiver Synchronized 1 When reaching this state the U-transceiver informs the LT-side by sending the superframe indication (inverted synch.-word). The loop-back commands decoded by the EOC-processor control the output of the transmit signals: - Normal ACT and UOA = 0: - Any loop-back and UOA = 0 (no loop-back): SN3 SN3T
The value of the issued SAI-bit depends on the received C/I-channel code: DI and TIM lead to SAI = 0, any other C/I-code sets the SAI-bit to 1 indicating activity on the S/Tinterface. The U-transceiver waits for the receipt of UOA = 1 to enter the "Synchronized 2" state. Synchronized 2 In this state the U-transceiver has received UOA = 1. This is a request to activate the S/T-reference point. The loop-back commands detected by the EOC-processor control the output of indications and transmit signals: - Normal activation and UOA = (1): - Single channel loop-back and UOA = (1): - Loop-back 2 (LBBD): SN3 and AR SN3T and AR SN3T and ARL
The value of the issued SAI-bit depends on the received C/I-channel code: DI and TIM lead to SAI = 0, any other C/I-code sets the SAI-bit to 1 indicating activity on the S/Tinterface. The U-transceiver waits for the receipt of the C/I-channel code AI to enter the "Wait for ACT" state. Test The "Test" mode is entered when the unconditional commands RES, SSP, Pin-RES or Pin-SSP are used. It is left when normal U-transceiver operation is selected via pins RES and TSP and the C/I-channel codes DI or ARL are received. The following signals are transmitted on the U-interface: - No signal level (SN0) when the C/I-channel code RES is applied or a hardware reset is activated. - Single pulses (SP) when the C/I-channel code SSP is applied or pin TSP =1. Transparent This state is entered upon the detection of ACT = 1 received from the LT-side and corresponds to the fully active state. In the case of a normal activation in both directions of transmission the the following codes are output: - Normal activation or single-channel loop-back: - Loop-back 2: AI AIL
Semiconductor Group
73
11.97
PSB 21911 PSF 21911
U-Transceiver Wait for ACT Upon the receipt of AI, the ACT-bit is set to "1" and the NT waits for a response (ACT = 1) from the LT-side. The output of indications and transmit signals is as defined for the "Synchronized" state. Wait for SF Upon detection of SL2, the signal SN2 is sent on the U-interface and the receiver waits for detection of the superframe indication. Timer T1 is then stopped and the "Synchronized" state is entered. Wait for SF AL This state is entered in the case of an analog loop-back and allows the receiver to update the AGC, to recover the timing phase, and to update the EQ-coefficients. Signal SN3 is sent instead of signal SN2 in the "Wait-for-SF" state.
2.5.8
C/I Codes
Both commands and indications depend on the data direction. Table 15 presents all defined C/I codes. A new command or indication will be recognized as valid after it has been detected in two successive IOM frames (Double last-look criterion). Indications are strictly state orientated. Refer to the state diagrams in the previous sections for commands and indications applicable in various states.
Semiconductor Group
74
11.97
PSB 21911 PSF 21911
U-Transceiver Table 15 Code IN 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 TIM RES - - EI1 SSP DT - AR - ARL - AI - - DI U-Transceiver C/I Codes NT-Mode OUT DR - - - EI1 - INT PU AR - ARL - AI - AIL DC
AI AR ARL DC DI DR DT
Activation Indication Activation Request Activation Request Local Loop Deactivation Confirmation Deactivation Indication Deactivation Request Data-Through test mode
EI1 INT PU RES SSP TIM
Error Indication 1 Interrupt Power-Up Reset Send-Single-Pulses test mode Timing request
Semiconductor Group
75
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.9 Layer 1 Loop-Backs
Test loop-backs are specified by the national PTTs in order to facilitate the location of defect systems. Four different loop-backs are defined. The position of each loop-back is illustrated in figure 23.
U S-Bus Loop 2 SBCX NT IOM
R
U
IOM
R
Loop 2 IEC-Q TE Loop 1a IEC-Q Loop 2 IEC-Q Loop 1 IEC-Q Exchange Loop 3 IOM
R
IOM
R
Repeater (optional)
ICC
IEC-Q TE
ICC PBX or TE
IEC-Q TE
ITD10198
Figure 23 Test Loop-Backs Supported by the IEC-Q TE Loop-backs #1, #1A and #2 are controlled by the exchange. Loop-backs #3 is controlled by the terminal. All loop-back types are transparent. This means all bits that are looped back will also be passed onwards in the normal manner. 2.5.9.1 Loop-Back (No. 2)
Normally loop-back #2 is controlled from the exchange via the EOC commands LBBD, LB1 and LB2. In EOC auto mode the EOC commands are recognized and executed automatically (see page 51). The single channel loop-backs (LB1, LB2) are closed in the U-transceiver itself whereas the complete loop-back (LBBD) is closed in a connected Stransceiver. All loop-back functions are latched. This allows channel B1 and channel B2 to be looped back simultaneously. All loop-backs are opened when the EOC command RTN is sent by the LT.
Semiconductor Group
76
11.97
PSB 21911 PSF 21911
U-Transceiver Complete loop-back The complete loop-back comprises both B-channels and the D-channel. It may be closed either in the U-transceiver itself , in the S-transceiver or in an external device. When receiving the EOC-command LBBD in EOC auto mode, the U-transceiver does not close the loop-back immediately. Because the intention of this loop-back is to test the complete NT, the U-transceiver passes the complete loop-back request on to the IOM-2 interface. This is achieved by issuing the C/I-code AIL in the "Transparent" state or C/I = ARL in states different than "Transparent". In applications that include a microcontroller, the software decides where to close the loop, whereas in an NT1 the loop is closed automatically in the S-transceiver (e.g. SBCX). Single-channel loop-back (B1/B2) Single-channel loop-backs are always performed directly in the U-transceiver if EOC auto mode is selected. No difference between the B1-channel and the B2-channel loopback control procedure exists. They are therefore discussed together. The B1-channel is closed with the EOC-command LB1. LB2 causes the channel B2 to loop-back. Because these functions are latched, both channels may be looped back simultaneously by sending first the command to close one channel followed by the command for the remaining channel. 2.5.9.2 Analog Loop-Back (No. 3)
Loop-back #3 is invoked by sending C/I command ARL to the U-transceiver. The loop is closed by the U-transceiver as near to the U-interface as possible. For this reason it is also called analog loop-back. All analog signals will still be passed on to the U-interface. As a result the opposite station (LT) is activated as well. In order to open an analog loop-back correctly, reset the U-transceiver into the TEST state with the C/I-command RES. This ensures that the echo coefficients and equalizer coefficients will converge correctly when activating the following time.
Semiconductor Group
77
11.97
PSB 21911 PSF 21911
U-Transceiver 2.5.10 Analog Line Port
The analog part of the IEC-Q TE consists of three main building blocks: - The analog-to-digital converter in the receive path - The digital-to-analog converter in the transmit path - The output buffer in the transmit path Furthermore it contains some special functions. These are: - Analog test loop-back - Level detect function Analog-to-Digital Converter The ADC is a sigma-delta modulator of second order using a clock rate of 15.36-MHz. The peak input signal measured between AIN and BIN must be below 4 Vpp. In case the signal input is too low (long range), the received signal is amplified internally by 6 dB. The maximum signal to noise ratio is achieved with 1.3 Vpp (long range) and 2.6 Vpp (short range) input signal voltage. Digital-to-Analog Converter The output pulse is shaped by a special DAC. The DAC was optimized for excellent matching between positive and negative pulses and high linearity. It uses a fully differential capacitor approach. The staircase-like output signal of the DAC drives the output buffers. The shape of a DAC-output signal is shown below, the peak amplitude is normalized to one. This signal is fed to an RC-lowpass of first order with a corner frequency of 1 MHz 50%. The duration of each pulse is 24 steps, with T0 = 0.78 s per step. On the other hand, the pulse rate is 80-kHz or one pulse per 16 steps. Thus, the subsequent pulses are overlapping for a duration of 8 steps.
Semiconductor Group
78
11.97
PSB 21911 PSF 21911
U-Transceiver
Figure 24 DAC-Output for a Single Pulse
Output Stage The output stage consists of two identical buffers, operated in a differential mode. This concept allows an output-voltage swing of 6.4 Vpp at the output pins of the IEC-Q TE. The buffers are optimized for: - High output swing - High linearity - Low quiescent current to minimize power consumption The output jitter produced by the transmitter (with jitter-free input signals) is below 0.02 UIpp (Unit intervall = 12.5 s, peak-peak) measured with a high-pass filter of 30-Hz cutoff frequency. Without the filter the cutoff frequency is below 0.1 UIpp. Analog Loop-Back Function The loop-back C/I command ARL activates an internal, analog loop-back. This loop-back is closed near the U-interface. All signals received on AIN / BIN will neither be evaluated nor recognized after reaching the "Synchronized" state in NT-mode. Level Detect The level detect circuit evaluates the differential signal between AIN and BIN. The differential threshold level is between 4 mV and 28 mV. The DC-level (common mode level) may be between 0 V and 3 V. Level detect is not effected by the range setting.
Semiconductor Group
79
11.97
PSB 21911 PSF 21911
U-Transceiver Pulse Shape The pulse mask for a single positive pulse measured between AOUT and BOUT at a load of 98 is given in the following figure.
Figure 25 Pulse Mask for a Single Positive Pulse Hybrid The hybrid circuit for the IEC-Q TE is shown on page 110.
Semiconductor Group
80
11.97
PSB 21911 PSF 21911
Access to IOM-2 Channels 2.6 Access to IOM-2 Channels
Important: This chapter applies only in P mode In P mode the microcontroller has access to the IOM-2 channels via the processor interface (PI) and registers.
FSC -2 U IOM -2
R
U
PI
ITS10193
Figure 26 Access to IOM-2 Channels (P mode) The processor interface can be understood as an intelligent switch between IOM-2 and the U-transceiver. It handles D, B1, B2, C/I and Monitor-channel data. The data can either be transferred directly between IOM-2 and the U-transceiver, or be controlled via the PI. The PI acts as an additional participant to the Monitor channel. Switching directions are selected by setting the register SWST as indicated below: SWST-Register
WT B1 B2 D CI MON BS SGL
* Setting one of the 5 bits B1, B2, D, CI, or MON of SWST to "1" enables the P access to the corresponding data. * Setting the bits listed above to "0" directly passes the corresponding data from IOM-2 to the U-transceiver and vice versa. For a description of the bits WT, BS and SGL please refer to page 127. The default value after hardware reset is "0" at all 8 positions.
Semiconductor Group
81
11.97
PSB 21911 PSF 21911
Access to IOM-2 Channels 2.6.1 B-Channel Access
Setting SWST:B1 (B2) to "1" enables the microprocessor to access B1 (B2)-channel data between IOM-2 and the U-transceiver. Eight registers (see table 16) handle the transfer of data from IOM-2 to the P, from the P to IOM-2, from the P to U and from U to the P: Table 16 Register WB1U RB1U WB1I RB1I WB2U RB2U WB2I RB2I B1/B2-Channel Data Registers Function write B1-channel data to U-interface read B1-channel data from U-interface write B1-channel data to IOM-2 read B1-channel data from IOM-2 write B2-channel data to U-interface read B2-channel data from U-interface write B2-channel data to IOM-2 read B2-channel data from IOM-2
Every time B-channel bytes arrive, an interrupt ISTA:B1 or ISTA:B2 respectively is created. It is cleared after the corresponding registers have been read. ISTA:B1 is cleared after RB1U and RB1I have been read. ISTA:B2 is cleared after RB2I and RB2U have been read. After an interrupt the data in RB1U and RB1I is stable for 125s. 2.6.2 D-Channel Access
Setting SWST:D to "1" enables the microprocessor to access D-channel data between the IOM-2 and the U-interface. Four registers (see table 17) handle the transfer of data from IOM-2 to the P, from the P to IOM-2, from the P to U and from U to the P. Table 17 Register DWU DRU DWI DRI D-channel data registers Function write D-channel data to U-interface read D-channel data from U-interface write D-channel data to IOM-2 read D-channel data from IOM-2
Two 2-bit FIFOs of length 4 collect the incoming D-channel packets from IOM and U. Every fourth IOM-frame they are full, an interrupt ISTA:D is generated and the contents
Semiconductor Group
82
11.97
PSB 21911 PSF 21911
Access to IOM-2 Channels of the FIFOs are parallely shifted to DRU and DRI respectively. DRU and DRI have to be read before the next interrupt ISTA:D can occur, otherwise 8 bits will be lost. DWU and DWI have to be loaded with data for 4 IOM-frames. Data in DWU and DWI is assumed to be valid at the time ISTA:D occurs. The register contents are shifted parallely into two 2-bit FIFOs of length four, from where the data is put to IOM-2 and U respectively during the following 4 IOM-frames. During this time, new data can be placed on DWU and DWI. DWU and DWI are not cleared after the data was passed to the FIFOs. That is, a byte may be put into DWU or DWI once and continously passed to IOM or U, respectively. Figure 27 illustrates this procedure:
Figure 27 Procedure for the D-Channel Processing Note: Default of DWU, DWI, DRU and DRI after reset is "FFH".
2.6.3
C/I Channel Access
Setting SWST:CI to "1" enables the microprocessor to access C/I-commands and indications between IOM-2 and the U-transceiver. A change in two consecutive frames (double last look) in the C/I-channel on IOM-2 is indicated by an interrupt ISTA:CICI. The received C/I-command can be read from register CIRI. A change in the C/I-channel coming from the U-transceiver is indicated by an interrupt ISTA:CICU. The new C/I-indication can be read from register CIRU .
Note: The term C/I-indication always refers to a C/I-code coming from the U-transceiver, whereas the term C/I-command refers to a C/I-code going into the U-transceiver.
A C/I-code going to the U-transceiver has to be written into the CIWU-register. A C/Icode to IOM-2 has to be written into the CIWI-register. The contents of both registers (CIWU and CIWI) will be transferred at the next available IOM-2 frame. The registers are not cleared after the transfer. Therefore, it is possible to continously send C/I codes to IOM-2 or the U-transceiver by only writing the code into the register once.
Semiconductor Group
83
11.97
PSB 21911 PSF 21911
Access to IOM-2 Channels C/I-commands to the U-transceiver have to be applied at least for two IOM-2 frames (250 s) to be considered as valid. In TE mode (i.e. 1.536 MHz DCL), the ADF2:TE1 bit is used to direct the C/I-channel access either to IOM-2 channel 0 (ADF2:TE1 = 0, default) or to IOM-2 channel 1 of the IOM-2 terminal structure (ADF2:TE1 = 1), figure 28 on page 84. This allows to program terminal devices such as the ARCOFI via the processor interface of the IEC-Q TE. The C/I code going to IOM-2 is 4 bits long if it is written to IOM-2 channel 0 (ADF2:TE1 = 0). If written to IOM-2 channel 1 this C/I code is 6 ibts long (ADF2:TE1 = 1). If the ADF2:TE1 bit is 1, the C/I channel on IOM-2 channel 0 is passed transparently from the IOM-2 interface to the IEC-Q TE itself.
IOM R -2
IOM R -2
C/I 0 (4 Bit)
C/I (4 Bit)
IEC-Q Core
C/I 1 (6 Bit)
IEC-Q Core
CIRI
CIWI
CIRU
CIWU SWST : CI = 1 ADF2 : TE1 = 0
CIRI
CIWI
CIRU
CIWU SWST : CI = 1 ADF2 : TE1 = 1
C/I access to IOM -2 channel 0
ITB10295
R
C/I access to IOM -2 channel 1
ITB10296
R
Figure 28 C/I Channel Access
2.6.4
Monitor Channel Access
Setting SWST:MON to "1" enables the microprocessor to access Monitor-channel messages at IOM-2 interface and the U-transceiver. Monitor-channel access can be performed in three different IOM-2 channels (see figure 29, page 85).
Semiconductor Group
84
11.97
PSB 21911 PSF 21911
Access to IOM-2 Channels
DIN DOUT
"DIN" IEC-Q Core "DOUT" IEC-Q TE
DIN DOUT
"DIN" IEC-Q Core "DOUT" IEC-Q TE
P Interface
P Interface
SWST : MON = 0 MODE 1 : Monitor Channel access disabled
SWST : MON = 1 ADF2 : MIN = 1 ADF2 : TE1 = 0 MODE 2 : Monitor Channel access to Kernel
DIN IOM -2 Channel 0 DOUT
R
"DIN" IEC-Q Core "DOUT" IEC-Q TE
DIN IOM -2 Channel 1 DOUT
R
"DIN" IEC-Q Core "DOUT" IEC-Q TE
P Interface
P Interface
SWST : MON = 1 ADF2 : MIN = 0 ADF2 : TE1 = 0 MODE 3a : Monitor Channel access R to IOM -2
SWST : MON = 1 ADF2 : MIN = x ADF2 : TE1 = 1 MODE 3b : Monitor Channel access R to IOM -2 Channel 1 in TE mode
ITS10293
Figure 29 Monitor Channel Access Directions Setting SWST:MON to '0' disables the controller access to the Monitor channel (figure 29 upper left part). Setting SWST:MON to '1' enables three different ways of controller access to the Monitor channel. ADF2:TE1 set to '0' allows to either access the U-transceiver core of the IEC-Q TE (see figure 29 upper right part, ADF2:MIN = '1') or the IOM-2 interface of the IEC-Q TE (figure 29 lower left part, ADF2:MIN = '0'). Setting ADF2:TE1 to '1' in TE mode gives access to IOM-2 channel 1 rather than IOM-2 channel 0 directed out of the IEC-Q TE. This allows to program devices linked to IOM-2 channel 1 (e.g. ARCOFI) via the processor interface of the IEC-Q TE.
Semiconductor Group
85
11.97
PSB 21911 PSF 21911
Access to IOM-2 Channels 2.6.4.1 Monitor Channel Protocol
The PI allows to program the IEC-Q TE Monitor channel in the way known from the PEB 2070 ICC. The Monitor channel operates on an asynchronous basis. While data transfers on the IOM-bus occur synchronized to frame sync FSC, the flow of data is controlled by a handshake procedure using the Monitor Channel Receive (MR) and Monitor Channel Transmit (MX) bits. For example: data is placed onto the Monitor channel and the MX bit is activated. This data will be transmitted repeatedly once per 8-kHz frame until the transfer is acknowledged via the MR bit. The microprocessor may either enforce a "1" (idle) in MR, MX by setting the control bit MOCR:MRC or MOCR:MXC to "0", or enable the control of these bits internally by the IEC-Q TE according to the Monitor channel protocol. Thus, before a data exchange can begin, the control bits MRC or MXC should be set to "1" by the microprocessor. The Monitor channel protocol is illustrated in figure 30. The relevant control and status bits for transmission and reception are: Monitor Transmit Bits Register MOCR MOSR STAR Bit MXC MXE MDA MAB MAC status control / status control Function MX Bit Control Transmit Interrupt Enable Data Acknowledged Data Abort Transmission Active
Monitor Receive Bits Register MOCR MOSR Bit MRC MRE MDR MER status control / status control Function MR Bit Control Receive Interrupt Enable Data Received End of Reception
Semiconductor Group
86
11.97
PSB 21911 PSF 21911
Access to IOM-2 Channels
Figure 30 Monitor Channel Protocol Before starting a transmission, the microprocessor should verify that the transmitter is inactive, i.e. that a possible previous transmission has been terminated. This is indicated by a "0" in MOSR:MAC, the Monitor Channel Active status bit. To enable interrupts for the transmitter the MOCR:MXE bit must be set to "1" (For details see section 4.1.1 on page 115). After having written the Monitor Data Transmit (MOX) register, the microprocessor sets the Monitor Transmit Control bit MXC to "1". This enables the MX bit to go active ("0"), indicating the presence of valid Monitor data (contents of MOX) in the corresponding frame. As a result, the receiving device stores the Monitor byte in its Monitor Receive (MOR) register and generates an MDR interrupt status. Alerted by the MDR interrupt, the microprocessor reads the Monitor Receive (MOR)
Semiconductor Group 87 11.97
PSB 21911 PSF 21911
Access to IOM-2 Channels register. When it is ready to accept data (e.g. based on the value in MOR, which in a point-to-multipoint application might be the address of the destination device), it sets the MR control bit MRC to "1" to enable the receiver to store succeeding Monitor channel bytes and acknowledge them according to the Monitor channel protocol. In addition, it enables other Monitor channel interrupts by setting Monitor receive Interrupt Enable (MRE) to "1". As a result, the first Monitor byte is acknowledged by the receiving device setting the MR bit to "0". This causes a Monitor Data Acknowledge (MDA) interrupt status at the transmitter. A new Monitor data byte can now be written by the microprocessor in MOX. The MX bit is still in the active ("0") state. The transmitter indicates a new byte in the Monitor channel by returning the MX bit active after sending it once in the inactive state. As a result, the receiver stores the Monitor byte in MOR and generates a new MDR interrupt status. When the microprocessor has read the MOR register, the receiver acknowledges the data by returning the MR bit active after sending it once in the inactive state. This in turn causes the transmitter to generate an MDA interrupt status. This "MDA interrupt - write data - MDR interrupt - read data - MDA interrupt" handshake is repeated as long as the transmitter has data to send. Note that the Monitor channel protocol imposes no maximum reaction times to the microprocessor. When the last byte has been acknowledged by the receiver (MDA interrupt status), the microprocessor sets the Monitor Transmit Control bit (MXC) to "0". This enforces an inactive ("1") state in the MX bit. Two frames of MX inactive signifies the end of a message. Thus, a Monitor Channel End of Reception (MER) interrupt status is generated by the receiver when the MX bit is received in the inactive state in two consecutive frames. As a result, the microprocessor sets the MR control bit MRC to "0", which in turn enforces an inactive state in the MR bit. This marks the end of the transmission, making the Monitor Channel Active (MAC) bit return to "0". During a transmission process, it is possible for the receiver to ask for a transmission to be aborted by sending an inactive MR bit value in two consecutive frames. This is effected by the microprocessor writing the MR control bit MRC to "0". An aborted transmission is indicated by a Monitor Channel Data Abort (MAB) interrupt status at the transmitter. In TE mode, the ADF2:TE1 bit is used to direct the Monitor access either to IOM-channel 0 (ADF2:TE1 = "0", default) or to IOM-channel 1 of the IOM-Terminal structure. This allows to program terminal devices such as the ARCOFI via the processor interface of the IEC-Q TE. If the ADF2:TE1 bit is "1", the Monitor channel on IOM-channel 0 is passed transparently from the IOM-2 interface to the IEC-Q TE itself.
Semiconductor Group
88
11.97
PSB 21911 PSF 21911
S/G Bit and BAC Bit in TE Mode 2.7 S/G Bit and BAC Bit in TE Mode
Important: This chapter applies only in P mode and if DCL = 1.536 MHz (TE mode). If DCL = 1.536 MHz the IOM-2 interface consists of three IOM-2 channels. The last octet of an IOM-2 frame includes the S/G and the BAC bit (chapter 2.3.1.1, page 31). Either or both bits can be used in various applications including * the D-channel arbitration in a PBX via an ELIC on the linecard * the synchronization of a base station in radio in the local loop (RLL) or wireless PBX applications The S/G is always written and never read by the IEC-Q TE. Its value depends on the last received EOC-command and on the status of the BAC bit.The processing mode for the S/G bit is selected via bits SWST:BS, SWST:SGL and ADF:CBAC according to table 18. A detailed description of the S/G bit in all modes is provided in Appendix B. Table 18 SWST: BS 0 0 SGL 0 1 S/G Processing Mode ADF: CBAC x 0 S/G bit always "0" S/G bit always "1" (default) S/G and BAC are handled by other devices than the IEC-Q TE ELIC on linecard, Interframe fill of terminals contains zeroes (e.g. '01111110') Synchronizaiton of base station, e.g. IBMC or MBMC Description (X is don't care) Application
0
1
1
S/G bit set to "1" continously with EOC 25H received, reset to "0" with EOC 27H received BAC bit controlls S/G-bit, upstream Dchannel not affected S/G bit set to "1" for 4 IOM-frames with EOC 25H receivced, automatically reset to "0" after that S/G bit set to "1" continously with EOC 25H receivced, reset to "0" with EOC 27H received S/G bit set to "1" continously with EOC 25H receivced, reset to "0" with EOC 27H received BAC bit controlls S/G bit and upstream Dchannel according to table 19.
89
1
0
x
1
1
0
1
1
1
ELIC on linecard, Interframe fill of terminals are 'ones'
Semiconductor Group
11.97
PSB 21911 PSF 21911
S/G Bit and BAC Bit in TE Mode 2.7.1 Applications with ELIC on the Linecard (PBX)
The S/G bit on DOUT (downstream) and the BAC bit on DIN (upstream) can be used to allow D-channel arbitration similar to the operation of the Upn interface realised with the OCTAT-P and the ISAC-P TE. The basic function is as follows: The PBX linecard using the ELIC assigns one HDLC controller to a number of terminals. As soon as one terminal T requests the D-channel, e.g. for signalisation, all other terminals receive a message indicating the D-channel to be blocked for them. The request is done with the BAC bit. At terminal T the BAC bit is set and the IEC-Q TE transfers the need for the D-channel to the LT-side. There, the HDLC-controller is assigned to the appropriate IOM-channel. Once this is done and indicated to the terminal by means of the S/G bit, the terminal begins to send D-channel messages. Note that this procedure is somewhat different from the operation of the OCTAT/ISACP TE. There, the beginn of the upstream D-channel data transfer itself indicates the need for the HDLC-controller. This implies that any other terminal, that incidentally sent a HDLC-message the same time, can be stopped before the message is lost in case the HDLC-controller is not available. The U-interface featured by the IEC-Q TE is not able to transfer the available/blocked information often enough to ensure this. Hence, it is necessary to indicate a D-channel access by the terminal in advance. "In advance" actually means about 14 ms. Giving MON-0 25H at the LT during transparent operation will cause the D-channel access at the NT-side to be on "STOP". As one EOC-message is transmitted via the EOC-channel once every 6 ms, the S/G bit on IOM-2 can be set in 6 ms intervals. If the 4 channel LT chip set PEB 24911 (DFE-Q) is used in the LT, a PEB 20550 (ELIC) can arbitrate the D-channel via the C/I command as known from the OCTAT-P and QUAT-S devices. Please refer to the PEB 24911 Data Sheet for detailed information on this. The BAC bit together with the EOC-messages received from the LT control the S/G bit and the upstream D-channel according to the table 19. Table 19 Control Structure of the S/G Bit and of the D-Channel BAC bit of last IOM-frame 0 S/G bit 1 = stop 0 = go reflects last received EOC message after falling edge after delay TD1 (1.5 ms and two EOCframes) 1 D-channel upstream
tied to "0"
1
set transparent with first "0" in Dchannel
Semiconductor Group
90
11.97
PSB 21911 PSF 21911
S/G Bit and BAC Bit in TE Mode D-Channel Request by the Terminal Figure 31 illustrates the request for the HDLC-controller by the terminal. The start state is BAC = 1 at DIN after TD1 has expired. That causes the S/G bit to be set to the stop position. BAC = 1 received on DIN sets the S/G bit on DOUT to the stop position ("1") at the next IOM-frame. When the terminal requests access to the HDLC-controller in the ELIC it sets the BAC-bit at DIN of it's IEC-Q TE to "0". That causes the D-channel data upstream to be tied to "0" and the S/G-bit to be set to "1". The ELIC receives the zeros and reacts by assigning the HDLC-controller to this very terminal. This is indicated via the change of C/ I code downstream at the LT side resulting in the S/G bit to be set to "0" ('go') after delay TD1 (see below for the explanation of TD1 and TD2). The IEC-Q TE will continue to send "0" upstream in the D-channel until the actual HDLC data arrives at DIN.The HDLC-frame itself, marked by the first "0" in the D-channel will reset the D-channel back to transparent. This allows to have arbitrary delays between the S/G bit going to "0" and the D-channel being used without the risk of loosing the HDLC-controller by sending an abort request consisting of all "1". At the end of the HDLC-frame the BAC bit is reset to "1" again by the layer-2 controller (e.g. SMARTLINK; ICC). This causes the S/G bit to be set to "1" in the next IOM frame which stops a possible second HDLC-frame that could not be processed in the ELIC anymore. TD1 and TD2 The delays TD1 and TD2 (see figure 31) have the following reasons: TD2 is caused by the 6ms interval in which an EOC message can be transmitted on the Uko interface. As an EOC-message can start once every 6 ms and will take 6 ms to be transmitted, TD2 will be 12 ms in the worst case. TD1 is at minimum 7.5 ms depending on the location of the superframe at the time the HDLC-controller is requested by the terminal. This delay is necessary because instead of receiving an EOC-message "go" as requested, the terminal could as well receive the EOC message "stop" because the HDLC-controller was assigned to an other subscriber just before . Flags as interframe Fill The influence to the upstream D-channel can be disabled while the control of the S/Gbit via EOC-messages and via the BAC bit still is given as described above by setting SWST:BS to "0", SWST:SGL to "1" and ADF:CBAC to "1". This is usefull when having a controlling device in the terminal, that is able to send the interframe timefill "flags".
Semiconductor Group
91
11.97
PSB 21911 PSF 21911
S/G Bit and BAC Bit in TE Mode
ELIC
R
IOM -2
R
IEC-Q AFE/DFE
U k0
IEC-Q TE
IOM -2 TE Mode
R
C/I = xxxx S/G = 1 D-Channel Transparent HDLC occupied by other Terminal: C/I = 1100 Delay TD2 "00" on D-Channel EOC 25 H HDLC assigned: C/I = 1000 D-Channel fied to "0" Delay TD1
BAC = 1
BAC = 0
Delay TD2 EOC 27 H S/G = Transparent; HDLC-Controller available HDLC-Frame on D-Channel D-Channel Transparent HDLC Frame BAC = 1 S/G = 1; "stop" D-Channel Transparent
ITD10200
HDLC ready: C/I = 1100
Delay TD2 EOC 25 H
Figure 31 D-Channel Request by the Terminal
Semiconductor Group
92
11.97
PSB 21911 PSF 21911
Reset 2.8 Reset
Important: This chapter applies only in P mode. Several resets are provided in the IEC-Q TE. Their effects are summarized in table 20. Table 20 Reset Power-on Hardware Reset Watchdog Software Reset Reset Condition Power-on Pin RES = 0 Watchdog expired C/I = 0001 Effect Resets the state machine and all registers Resets the state machine and all registers exept for STCR register Resets no register and does not affect the state machine Resets the state machine and does not affect the registers Pin RST active yes no yes no
The IOM-2 clocks DCL and FSC as well as MCLk are delivered during reset (except for power-on). The IEC-Q TE provides a low active reset output (pin RST) which is controlled by a power-on reset and the watchdog timer. The watchdog is enabled by setting the SWST:WT bit to "1". Default after hardware reset of SWST:WT is "0". Please refer to page 39 for information on how to use the watchdog timer. Figure 32 illustrates the reset sources that have an impact on pin RST.
Power-on
Figure 32 Reset Sources
Semiconductor Group
93
11.97
PSB 21911 PSF 21911
Power Controller Interface 2.9 Power Controller Interface
Important: This chapter applies only in stand-alone mode. A power controller interface is implemented in the PSB 21911 to provide comfortable access to peripheral circuits which are not connected directly to the microprocessor . Because this interface was specifically designed to support the ISDN Exchange Power Controller IEPC (PEB 2025) it is referred to as "Power Controller Interface". Despite this dedication to the IEPC, the controller interface is just as suited for other general-purpose applications. Interface Bits (PCD, PCA, PCRD, PCWR, INT) The interface structure is adapted to the register structure of the IEPC. It consists of three data bits PCD0 ... 2, two address bits PCA0,1, read and write signals PCRD and PCWR respectively as well as an interrupt facility INT. The address bits are latched, they may therefore in general interface applications be used as output lines. For general interface inputs each of the three data bits is suitable. Read and write operations are performed via MON-8 commands. Three inputs and two outputs are thus available to connect external circuitry. The interrupt pin is edge sensitive. Each change of level at the pin INT will initiate a C/Icode "INT" (0110B) lasting for four IOM-frames. Interpretation of the interrupt cause and resulting actions need to be performed by the control unit. Table 21 lists all MON-8- and C/I-commands that are relevant to the power controller interface. Table 21 Channel MON-8 MON-8 MON-8 and C/I-Commands Code WCI RCI Function Write to interface. Address and data is contained in the MONcommand. The address is latched, data is not latched. Read from interface at specified address. Address is latched and the current value of the data port is read. The result is returned to the user with MON-8 "ACI". Answer from interface. After a RCI-request the value of three data bits at the specified address is returned. Interrupt. After a change of level has been observed, the C/Icode "INT" is issued for 4 IOM-frames. Note the special timing of the interrupt signals described on page 96.
MON-8 C/I
ACI INT
Semiconductor Group
94
11.97
PSB 21911 PSF 21911
Power Controller Interface Communication with the power controller interface is established with local Monitor messages (MON-8) on IOM-2. The following two-byte messages are matched to the IEPC-power controller status register read and write operations but can be used in general, too. MON-8 1 0 0 0 0 WCI 0 RCI 0 0 0 0 ACI 0 0 0 0 0 0 0 0 0 0 Write Controller Interface 0 1 1 D0 D1 D2 A0 A1
MON-8 1 0
Read Controller Interface 0 1 0 - - - A0 A1
MON-8 1 0
Answer Controller Interface D0 D1 D2 - - - - -
After the receipt of a MON-8-command the IEC-Q TE will set the address/data bits and generate a read or write pulse. The address bits are latched, and the output is stable until it is overwritten by a new dedicated MON-8-command. All data lines are connected to an internal pull-up resistor. The initial value on the address lines after a soft or hardware reset is (11B).
Semiconductor Group
95
11.97
PSB 21911 PSF 21911
Power Controller Interface Interrupt For every change at the input pin "INT", the IEC-Q TE will transmit a C/I-channel code (0110B), INT, in 4 successive IOM-2-frames. The input condition of the "INT" pin is sampled every 4 IOM-2-frames. An interrupt indication must therefore be applied to pin "INT" for at least 4 IOM-2-frames.
125 s
IOM -2 Frames 1 ms INT
R
C/I Code INT 0.5 ms INT
C/I Code INT
ITD10294
Figure 33 Sampling of Interrupts
Semiconductor Group
96
Example B
Example A
11.97
PSB 21911 PSF 21911
C/I Channel Programming 3 3.1 Operational Description C/I Channel Programming
Important: This chapter applies only in P mode.
P
CIWU = C7 CICU Interrupt
C/I Channel Handler Transmit C/ICommand "RES" New C/I-Code received from U C/I = 0001b
U-Transceiver Transfer to "TEST" State Send C/I-Indication "DR"
ISTA = 02
C/I = 0000b
CIRU = 03
Read New C/I-Code.
ITD10291
Figure 34 Example: C/I-Channel Use (all data values hexadecimal)
Semiconductor Group
97
11.97
PSB 21911 PSF 21911
Monitor Channel Programming 3.2 Monitor Channel Programming
Important: This chapter applies only in P mode. The example on page 99 illustrates the read-out of the transceiver's identification number (ID). It consists of the transmission of a two-byte message from the control unit to the transceiver in IOM channel 0. The transceiver acknowledges the receipt by returning a two-byte long message in the monitor channel. The procedure is absolutely identical for Monitor channel 1. The P starts the transfer procedure after having confirmed that the monitor channel is inactive. The first byte of monitor data is loaded into the transmit register MOX. Via the Monitor Control Register MOCR monitor interrupts are enabled and control of the MX-bit is handed over to the IEC-Q TE. Then transmission of the first byte begins. The Utransceiver reacts to a low level of the MX-bit by reading and acknowledging the monitor channel byte automatically. On detection of the confirmation, the IEC-Q TE issues a monitor interrupt to inform the P that the next byte may be sent. Loading the second byte into the transmit register results in an immediate transmission (timing is controlled by IEC-Q TE). The U-transceiver receives the second byte in the same manner as before. When transmission is completed, the U-transceiver sends "End of Message" (MX-bit high). It is assumed that a monitor command was sent that needs to be answered by the Utransceiver (e.g. read-out of a register). Therefore, the U-transceiver commences to issue a two-byte confirmation after an End-of-Message indication from the IEC-Q TE has been detected. The IEC-Q TE notifies the P via interrupt when new monitor data has been received. The processor may then read and acknowledge the byte at a convenient instant. When confirmation has been completed, the U-transceiver sends "EOM". This generates a corresponding interrupt in the IEC-Q TE. By setting the MR-bit to high, the monitor channel is inactive, the transmission is finished.
Semiconductor Group
98
11.97
PSB 21911 PSF 21911
Monitor Channel Programming Example: Monitor Channel Transmission and Reception Basic Configuration, IOM-2 Clocks must be active w w w STCR = SWST = ADF2 = 0x15 0x06 0x48 // TE Mode, EOC Auto Mode // Access to C/I and Monitor channel // Monitor access to U-transceiver
Transmission r w w r r w r r MOSR MOX MOCR ISTA MOSR MOXR ISTA MOSR = = = = = = = = 0x00 0x80 0x30 0x01 0x28 0x00 0x01 0x28 // // // // // // // // Transmission inactive (MAC = 0) Mon-8 Command Transmit Command Monitor MDA Interrupt Ackn. Indication Access to Register 0 Monitor MDA Interrupt Ackn. Indication
Reception w r r r w r r r r r w MOCR ISTA MOSR MOR MOCR ISTA MOSR MOR ISTA MOSR MOCR = = = = = = = = = = = 0x80 0x08 0x80 0x80 0xC0 0x08 0x80 0x03 0x08 0x40 0x80 // // // // // // // // // // // Enable Receive of Monitor Message Monitor MDR Interrupt Data Received Value read Monitor 8 Command Ind. Acknowledge Reading Monitor MDR Interrupt Data Received Data from Register 0 (Identification) Monitor MDR Interrupt EOM received Enable Interrupts.
Semiconductor Group
99
11.97
PSB 21911 PSF 21911
Layer 1 Activation/Deactivation 3.3 Layer 1 Activation/Deactivation
Table 22 shows all U-interface signals as defined by ANSI. Table 22 U-Interface Signals Synch. Word (SW) 3 no signal present present present present 3 no signal present present present present no signal Superframe (ISW) NT -> LT TN 1) SN0 SN1 SN2 SN3 SN3T TL 1) SL0 SL1 SL2 SL3 2) SL3T SP 3) 3 no signal absent absent present present LT -> NT 3 no signal absent present present present Test Mode no signal 3 no signal 3 no signal 1 0 0 normal 3 no signal 1 normal normal normal 3 no signal 1 1 1 normal 3 no signal 1 1 normal normal 2B + D M-Bits
Signal
Notes:1)Alternating 3 symbols at 10 kHz
2)Must
be generated by the exchange 3 single pulses of 12.5 s duration spaced by 1.5 ms
3)Alternating
Semiconductor Group
100
11.97
PSB 21911 PSF 21911
Layer 1 Activation/Deactivation Complete Activation Initiated by LT Figure 35 depicts the procedure if the activation has been initiated by the exchange side.
S/T INFO 0 INFO 0
IOM -2 DC DI
R
U-Reference Point SL0 SN0 TL
IOM -2 DC DI AR
R
PU DC
INFO 2
AR AR
TN SN1 SN0 SL1 SL2 act = 0 dea = 1 uoa = 1 SN2 SN3 act = 0 (sai = 0) SN3 act = 0 sai = 1 SL3T act = 0 dea = 1 uoa = 1 SN3 act = 1 sai = 1 SL3T act = 1 dea = 1 uoa = 1
AR
ARM
UAI
INFO 3
AI AI
INFO 4
AI SN3T SL3T
SBCX NT
IEC-Q TE
IEC-Q LT
EPIC
R
ITD10202
Figure 35 Complete Activation Initiated by LT
Semiconductor Group
101
11.97
PSB 21911 PSF 21911
Layer 1 Activation/Deactivation Complete Activation Initiated by TE Figure 36 depicts the procedure if the activation has been initiated by the terminal side.
S/T INFO 0 INFO 0 INFO 1
IOM -2 DC DI TIM PU AR DC
R
U-Reference Point SL0 SN0
IOM -2 DC DI
R
INFO 2 INFO 0 INFO 3
AR
TN SN1 SN0 SL1 SL2 act = 0 dea = 1 uoa = 0 SN2 SN3 sai = 1 SL3T uoa = 1
AR
ARM
UAI
AI AI
INFO 4 SBCX
SN3 act = 1 sai = 1 SL3T act = 1 dea = 1 uoa = 1 SN3T IEC-Q TE IEC-Q
AI
EPIC LT
ITD04243
R
NT
Figure 36 Complete Activation Initiated by TE
Semiconductor Group
102
11.97
PSB 21911 PSF 21911
Layer 1 Activation/Deactivation Complete Deactivation
S/T INFO 4 INFO 3
IOM -2 AI AI
R
U-Reference Point SL3T act = 1 dea = 1 uoa =1 SN3T act = 1 sai =1
IOM -2 AR AI DR DEAC 40 ms 3 ms
R
DC DR DI DC SBCX NT IEC-Q TE 3 ms 40 ms
SL3T act = 0 dea = 0 SL0 SN0
INFO 0 INFO 0
DI
IEC-Q LT
EPIC
R
ITD10204
Figure 37 Complete Deactivation
Semiconductor Group
103
11.97
PSB 21911 PSF 21911
Layer 1 Activation/Deactivation Partial Activation (U Only) The IEC-Q TE is in the "Synchronized 1" state (see state machine) after a successful partial activation. IOM-2-clocks DCL and FSC are issued. On DOUT the C/I-message "DC" as well as the LT-user data is sent. While the C/I-messages "DI" (1111B) or "TIM" (0000B) are received on DIN, the IEC-Q TE will transmit "SAI" = (0) upstream. Any other code results in "SAI" = (1) to be sent. On the U-interface the signal SN3 (i.e. 2B + D = (1)) will be transmitted continuously regardless of the data on DIN. The LT will transmit all user data transparently downstream (signal SL3T). In case the last C/I-command applied to DIN was "UAR", the LT retains activation control when an activation request comes from the terminal (confirmation with C/I = "AR" required, see page 106 (case 1). With C/I "DC" applied on DIN, TE initiated activations will be completed without the necessity of an exchange confirmation (page 107 (case 2)).
S/T INFO 0 INFO 0
IOM -2 DC DI
R
U-Reference Point SL0 SN0 TL
IOM -2 DC DI UAR
R
PU DC
TN SN1 SN0 SL1 SL2 act = 0 dea = 1 uoa = 0 SN2 SN3 act = 0 sai = 0
AR
ARM
SL3T act = 0 dea =1 uoa =1
UAI (DC) IEC-Q LT EPIC
R
SBCX NT
IEC-Q TE
ITD10205
Figure 38 U Only Activation
Semiconductor Group
104
11.97
PSB 21911 PSF 21911
Layer 1 Activation/Deactivation Activation Initiated by LT with U Active The S-interface is activated from the exchange with the command "AR". Bit "UOA" changes to (1) requesting S-interface activation.
S/T INFO 0 INFO 0
IOM -2 DC DI AR AR AI AI
R
U-Reference Point SL3T act = 0 dea =1 uoa = 0 SN3 act = 0 sai= 0 SL3T act = 0 dea = 1 uoa = 1 SN3 act = 0 sai=1 SN3 act = 1 sai = 1 SL3T act =1 dea =1 uoa =1 SN3T SL3T
IOM -2 DC/UAR UAI AR
R
INFO 2 INFO 3
AR
UAI AI
INFO 4
SBCX NT
IEC-Q TE
IEC-Q LT
EPIC
R
ITD10206
Figure 39 LT Initiated Activation with U-Interface Active
Semiconductor Group
105
11.97
PSB 21911 PSF 21911
Layer 1 Activation/Deactivation Activation Initiated by TE with U Active The TE initiates complete activation with INFO 1 leading to "SAI" = (1). Case 1 requires the exchange side to acknowledge the TE-activation by sending C/I = "AR", Case 2 activates completely without any LT-confirmation.
S/T INFO 0 INFO 0 INFO 1
IOM -2 DC DI AR
R
U-Reference Point SL3T act = 0 dea =1 uoa =0 SN3 act =0 sai=0 SN3 act = 0 sai = 1 SL3T act = 0 dea = 1 uoa = 1
IOM -2 UAR UAI
R
AR AR
INFO 2 INFO 3
AR AI AI
SN3 act = 1 sai = 1 SL3T act =1 dea =1 uoa =1 SN3T SL3T
UAI AI
INFO 4
SBCX NT
IEC-Q TE
IEC-Q LT
EPIC
R
ITD10207
Figure 40 TE-Activation with U Active and Exchange Control (case 1)
Semiconductor Group
106
11.97
PSB 21911 PSF 21911
Layer 1 Activation/Deactivation
S/T INFO 0 INFO 0 INFO 1
IOM -2 DC DI AR
R
U-Reference Point SL3T act =0 dea =1 uoa =0 SN3 act =0 sai = 0 SN3 act = 0 sai =1 SL3T act = 0 dea =1 uoa =1
IOM -2 DC UAI
R
AR
INFO 2 INFO 3
AR AI AI
SN3 act =1 sai =1 SL3T act =1 dea =1 uoa =1 SN3T SL3T
UAI AI
INFO 4
SBCX NT
IEC-Q TE
IEC-Q LT
EPIC
R
ITD10208
Figure 41 TE-Activation with U Active and no Exchange Control (case 2)
Semiconductor Group
107
11.97
PSB 21911 PSF 21911
Layer 1 Activation/Deactivation Deactivating S/T-Interface Only Deactivation of the S-interface only is initiated from the exchange by setting the "UOA" bit = (0).
S/T INFO 4 INFO 3
IOM -2 AI AI
R
U-Reference Point SL3T act =1 dea =1 uoa =1 SN3T act =1 sai=1
IOM -2 AR AI UAR
R
INFO 0 INFO 0
DR DI DC
SL3T act = 1 dea = 1 uoa = 0
SN3 act = 0 sai = 0 SL3T act = 0 dea =1 uoa= 0
UAI (DC)
SBCX NT
IEC-Q TE
IEC-Q LT
EPIC
R
ITD10209
Figure 42 Deactivation of S/T Only
Semiconductor Group
108
11.97
PSB 21911 PSF 21911
External Circuitry 3.4 3.4.1 External Circuitry Power Supply Blocking Recommendation
The following blocking circuitry is suggested.
Figure 43 Power Supply Blocking
Semiconductor Group
109
11.97
PSB 21911 PSF 21911
External Circuitry 3.4.2 U-Interface
The hybrid suggested for the PSB 21911 IEC-Q TE is identical to the hybrid recommended for the PEB 2091 IEC-Q.
24 AOUT 619 681 BIN AIN 10 k 10 k
10 nF 1:1.6
3.01 k
10 nF 10 k 619 24 10 k
_ < 1 F
U
CK
6.8 nF
BOUT 10 nF
ITS09706
Figure 44 U-Interface Hybrid Circuit
Note: To achieve optimum performance all capacitors of the hybrid should be MKT. Ceramic capacitors are not recommended.
Semiconductor Group
110
11.97
PSB 21911 PSF 21911
External Circuitry 3.4.3 Oscillator Circuit
Figure 45 illustrates the recommended oscillator circuit. A crystal or an oszillator signal may be used.
27 pF XOUT 15.36 MHz XIN 27 pF External 15.36 MHz Oscillator Signal XIN N.C. XOUT
ITS09718
Figure 45 Crystal Oscillator or External Clock Source Crystal Parameters Frequency: Load capacitance: Frequency tolerance: Resonance resistance: Max. shunt capacitance: Oszillator mode: 15.36 MHz 20 pF +/- 0.3pF 60 ppm 20 7 pF fundamental
External Oscillator Frequency: Frequency tolerance: 15.36 MHz 80 ppm
Semiconductor Group
111
11.97
PSB 21911 PSF 21911
Register Description 4 Register Description
Important: This chapter applies only in P mode. The setting of the IEC-Q TE in P mode and the transfer of data is programmed with registers. The address map and a register summary are given in table 23 and in table 24, respectively: Table 23
Address (hex)
Register Address Map
Read Name Description Interrupt Status Register Write Name MASK STCR MOR DRU Read Monitor data Read D from U MOX DWU ADF2 Description Interrupt Mask register Status Control Register Write Monitor data Write D to U Additional Features Reg. 2
0 1 2 3 4 5 6 7 8 9 A B C D E F
ISTA
reserved for the test mode (must not be used in normal operation) RB1U RB2U RB1I RB2I MOSR DRI CIRU CIRI Read B1 from U Read B2 from U Read B1 from IOM-2 Read B2 from IOM-2 Monitor Status Register Read D from IOM-2 Read C/I-code from U Read C/I-code from IOM-2 WB1U WB2U WB1I WB2I MOCR DWI CIWU CIWI ADF SWST Write B1 to U Write B2 to U Write B1 to IOM-2 Write B2 to IOM-2 Monitor Control Register Write D to IOM-2 Write C/I-code to U Write C/I-code to IOM-2 Additional Features Reg. Switch Status Register
Semiconductor Group
112
11.97
PSB 21911 PSF 21911
Register Description Table 24 Address 0H 0H 1H 2H 2H 3H 3H 4H 6H 6H 7H 7H 8H 8H 9H 9H AH AH BH BH CH CH DH DH EH FH
0 1 C/I C/I WTC2 WT 0 1 C/I C/I WTC1 B1 C/I C/I C/I C/I PCL1 B2 C/I C/I C/I C/I PCL0 D CI MON C/I C/I C/I C/I C/I C/I C/I C/I 1 1 1 1 BCL BS 1 1 1 1 CBAC SGL MDR MRE MER MRC MDA MXE MAB MXC MAC TE1 MTO DOD MIN
Register Summary 7 6
CICI CICI TEST2
5
CICU CICU MS2
4
SF SF MS1
3
MDR MDR MS0
2
B1 B1 TM1
1
B2 B2 TM2
0
MDA MDA AUTO
Name
ISTA MASK STCR
D D TEST1
R W W R W R W W R W R W R W R W R W R W R W R W W W
MOR MOX DRU DWU ADF2 RB1U WB1U RB2U WB2U RB1I WB1I RB2I WB2I
MOSR MOCR
DRI DWI
CIRU CIWU
CIRI
CIWI ADF SWST
Semiconductor Group
113
11.97
PSB 21911 PSF 21911
Register Description 4.1 Interrupt Structure
The cause of an intrerrupt is determinded by reading the Interrupt Status Register (ISTA). In this register, 7 interrupt sources can be directly read. Interrupt bits are cleared by reading the corresponding registers. ISTA:D is cleared after DRI and DRU have been read. ISTA:B1 is cleared after RB1I and RB1U have been read. ISTA:B2 is cleared after RB2I and RB2U have been read etc. ISTA:CICI is cleared after CIRI is read, ISTA:CICU is cleared after CIRU is read. ISTA:SF indicates a superframe marker received from the U-interface. It is cleared when the ISTA register has been read. Pin INT is set to "0" if one bit of ISTA changes from "0" to "1", except for the bit masked in the MASK register. The MASK register allows to prevent an interrupt to actually influence the INT pin. Setting the bits of MASK that correspond to the bits of ISTA to "1" masks the bits, that is, the bits are still set in ISTA, but they do not contribute to the input of the NOR-function on the interrupt bits which sets the INT pin. The interrupt structure is illustrated in figure 46:
Figure 46 Interrupt Structure
Semiconductor Group
114
11.97
PSB 21911 PSF 21911
Register Description 4.1.1 Monitor-Channel Interrupt Logic
The Monitor Data Receive (MDR) and the Monitor End of Reception (MER) interrupt status bits have two enable bits, Monitor Receive Interrupt Enable (MRE) and MR-bit Control (MRC). The Monitor channel Data Acknowledged (MDA) and Monitor channel Data Abort (MAB) interrupt status bits have a common enable bit Monitor Interrupt Enable (MXE). MRE prevents the occurrence of the MDR status, including when the first byte of a packet is received. When MRE is active ("1") but MRC is inactive, the MDR interrupt status is generated only for the first byte of a receive packet. When both MRE and MRC are active, MDR is generated and all received Monitor bytes - marked by a low edge in MX bit - are stored. Additionally, an active MRC enables the control of the MR handshake bit according to the Monitor channel protocol.
Semiconductor Group
115
11.97
PSB 21911 PSF 21911
Register Description 4.2 Registers Read Address 0H
ISTA-Register
The Interrupt Status Register (ISTA) generates an interrupt for the selected channel. Interrupt bits are cleared by reading the corresponding register. Default: 00H 7
D CICI CICU SF MDR B1 B2 MDA
0
0H
D:
D-channel Interrupt D = 1 indicates an interrupt that 8 bits D-channel data have been updated. D = 0 occurs after DRI and DRU have been read.
CICI:
C/I-channel Interrupt CICI = 1 indicates a change in the C/I-channel on IOM-2. CICI = 0 occurs after CIRI is read.
CICU:
C/I-channel Interrupt CICU = 1 indicates a change in the C/I-channel coming from the U-interface. CICU = 0 occurs after CIRU is read.
SF:
Superframe Marker SF = 1 indicates a superframe marker received from the Uinterface. SF = 0 occurs when the ISTA-Register has been read.
MDR:
Monitor Data Receive Interrupt MDR = 1 indicates an interrupt after the MOSR:MDR or the MOSR:MER bits have been activated. MDR = 0 indicates the inactive interrupt status.
B1:
B1-channel Interrupt B1 = 1 indicates an interrupt every time B1-channel bytes arrive. B1 = 0 occurs after RB1I and RB1U have been read.
Semiconductor Group
116
11.97
PSB 21911 PSF 21911
Register Description B2: B2-channel Interrupt B2 = 1 indicates an interrupt every time B2-channel bytes arrive. B2 = 0 occurs after RB2I and RB2U have been read. MDA: Monitor Data Transmit Interrupt MDA = 1 indicates an interrupt after the MOSR:MDA or the MOSR:MAB bits have been activated. MDA = 0 indicates the inactive interrupt status.
MASK-Register
Write
Address 0H
The Interrupt Mask Register (MASK) can selectively mask each interrupt source in the ISTA register by setting to "1" the corresponding bit. Default: FFH 7
D CICI CICU SF MDR B1 B2 MDA
0
0H
D:
D-channel mask D = 1 prevents an interrupt ISTA:D to actually influence the INT pin. D = 0 disables the function described above.
CICI:
CICI-channel mask CICI = 1 prevents an interrupt ISTA:CICI to actually influence the INT pin. CICI = 0 disables the function described above.
CICU:
CICU-channel mask CICU = 1 prevents an interrupt ISTA:CICU to actually influence the INT pin. CICU = 0 disables the function described above.
SF:
Superframe marker mask SF = 1 prevents an interrupt ISTA:SF to actually influence the INT pin. SF = 0 disables the function described above.
Semiconductor Group
117
11.97
PSB 21911 PSF 21911
Register Description MDR: Monitor data receive mask MDR = 1 prevents an interrupt ISTA:MDR to actually influence the INT pin. MDR = 0 disables the function described above. B1: B1-channel mask B1 = 1 prevents an interrupt ISTA:B1 to actually influence the INT pin. B1 = 0 disables the function described above. B2: B2-channel mask B2 = 1 prevents an interrupt ISTA:B2 to actually influence the INT pin. B2 = 0 disables the function described above. MDA: Monitor data transmit mask MDA = 1 prevents an interrupt ISTA:MDA to actually influence the INT pin. MDA = 0 disables the function described above.
Semiconductor Group
118
11.97
PSB 21911 PSF 21911
Register Description STCR-Register Write Address 1H
The Status Control Register (STCR) selects the operating modes of the IEC-Q TE as given in table. Default: 04H 7
0 0 MS2 MS1 MS0 TM1 TM2
0
AUTO 1H
Bit 7: Bit 6: MS2: MS1: MS0:
reserved Set to '0' for future compatibility. reserved Set to '0' for future compatibility. Mode Selection 2 Selects operation mode according to the table below. Mode Selection 2 Selects operation mode according to the table below. Mode Selection 2 Selects operation mode according to the table below.
Mode Selection Mode Bit MS2 0 1 0 0 1 others Bit MS1 0 0 0 1 1 Bit MS0 0 0 1 0 0
Output Pins U Synchronized DCL OUT 512 512 512 1536 1536 CLS OUT 7680 7680 7680 7680 7680 Superframemarker no yes no no yes
NT NT NT-Auto TE TE reserved
Semiconductor Group
119
11.97
PSB 21911 PSF 21911
Register Description
TM1:
Test-Mode-Bit 1 This bit determines, in combination with STCR:TM2, the operation modes. See table below.
TM2:
Test-Mode-Bit 2 This bit determines, in combination with STCR:TM1, the operation modes. See table below. Test-Mode Normal Mode Send Single-Pulses Data-Through TM1 1 1 0 TM2 0 1 1
AUTO:
Selection between auto- and transparent mode AUTO = 1 sets the automode for EOC channel processing. AUTO = 0 sets the transparent mode for EOC channel processing.
Note: The STCR-register is only reset after a power-on. Please refer also to table 20 on page 93.
Semiconductor Group
120
11.97
PSB 21911 PSF 21911
Register Description ADF2-Register Additional Features Register 2 (ADF2). Default: 08H 7
TE1 MTO DOD MIN
Write
Address 4H
0
4H
TE1:
Terminal Equipment Channel 1 TE1 = 1 enables the IEC-Q TE to write Monitor data on DOUT to the MON1 channel instead of the MON0 channel and to write 6bit C/I indications on DOUT into the C/I-channel 1. TE1 = 0 enables the normal TE operations where the IEC-Q TE addresses only IOM-2 channel 0.
MTO:
Monitor Procedure Timeout MTO = 1 disables the internal 6ms Monitor timeout. MTO = 0 enables the internal 6ms Monitor timeout.
DOD:
Dout Open Drain DOD = 1 selects pin DOUT to be open drain. DOD = 0 selects pin DOUT to be tristate.
MIN:
Monitor-In-Bit MIN = 1 combined with the SWST:MON = "1" and ADF2:TE1 = "0" bits, enables the controller to access the core of the IEC-Q TE. MIN = 0 combined with the SWST:MON = "1" and ADF2:TE1 = "0" bits, enables the controller to access the IOM-2 interface directed out of the IEC-Q TE (see also page 85).
Semiconductor Group
121
11.97
PSB 21911 PSF 21911
Register Description MOSR-Register Default: 00H 7
MDR MER MDA MAB MAC
Read
Address AH
The Monitor Status Register (MOSR) indicates the status of the Monitor channel.
0
AH
MDR:
Monitor Channel Data Received Interrupt MDR = 1 generates an interrupt status after the receiving device has stored the contents of the MOX register in the MOR register. MDR = 0 inactive interrupt status
MER:
Monitor Channel End of Reception Interrupt MER = 1 is generated after two consecutive inactive MX bits (end of message) or as a result of a handshake procedure error. MER = 0 indicates that the transmission is running.
MDA:
Monitor Channel Data Acknowledged MDA = 1 results after a Monitor byte is acknowledged by the receiving device. MDA = 0 occurs when the receiver waits for an acknowledge of the Monitor bit.
MAB:
Monitor Channel Data Abort MAB = 1 indicates that during a transmission the receiver aborted the process by sending an inactive ("1") MR bit value in two consecutive frames. MAB = 0 indicates that the transmission is running properly and that no abort request has been activated.
MAC:
Monitor Channel Active MAC = 1 indicates a transmission on the Monitor channel. MAC = 0 indicates that the transmitter is inactive, i.e. ready for a transmission.
Semiconductor Group
122
11.97
PSB 21911 PSF 21911
Register Description MOCR-Register Write Address AH
The Monitor Control Register (MOCR) allows to program and control the Monitor channel as described in the section 4.1.1. Default: 00H 7
MRE MRC MXE MXC
0
AH
MRE:
Monitor Receive Interrupt Enable MRE = 1 enables the Monitor data receive (MDR) interrupt status bit; MRE = 1 enables the Monitor data receive (MDR) and the Monitor end of reception (MER) interrupt status bits. MRE = 0 masks the MDR and the MER bits.
MRC:
Monitor Channel Receive Control MRC = 1 enables the control of the MR bit internally by the IEC-Q TE according to the Monitor channel protocol. MRC = 0 enforces a "1" (inactive state) in the Monitor channel receive (MR) bit.
MXE:
Monitor Transmit Interrupt Enable MXE = 1 combined with the MXC bit tied to "1" enable the Monitor channel data acknowledged (MDA) and the Monitor channel data abort (MAB) interrupt status bits. MXE = 0 masks the MDA and the MAB bits.
MXC:
Monitor Channel Transmit Control MXC = 1 enables the control of the MX bit internally by the IEC-Q TE according to the Monitor channel protocol. MXC = 0 enforces a "1" (inactive state) in the Monitor channel transmit (MX) bit.
Semiconductor Group
123
11.97
PSB 21911 PSF 21911
Register Description CIRU-Register Default: 03H 7
0 0 C/I C/I C/I C/I 1 1
Read
Address CH
The Read C/I-code from U Register (CIRU) reads the C/I-code from the U-transceiver.
0
CH
7., 6. bits: 5.-2. bits: 1., 0. bits:
Set to "0". Contain the C/I-indication coming from the U-transceiver. Set to "1".
CIWU-Register Default: C3H 7
1 1 C/I C/I
Write
Address CH
The Write C/I-code to U Register (CIWU) writes the C/I-code to the U-transceiver.
0
C/I C/I 1 1 CH
7., 6. bits: 5.-2. bits: 1., 0. bits:
Set to "1". Contain the C/I-code going to the U-transceiver. Set to "1".
Semiconductor Group
124
11.97
PSB 21911 PSF 21911
Register Description CIRI-Register Read Address DH
The Read C/I-code from IOM-2 Register (CIRI) reads the C/I-code from the IOM-2 interface. Default: 03H 7
C/I C/I C/I C/I C/I C/I 1 1
0
DH
7., 6. bits:
ADF2:TE1 = 1 indicates that the C/I-channel 1 in the TE mode can be accessed and that the C/I-channel on IOM-channel 0 is passed transparently from the IEC-Q TE to the IOM-2. The two bits contain C/I-code. ADF:TE1 = 0 sets the normal mode. The two bits are set to "0". Contain the C/I-command coming from the IOM-2. Set to "1".
5.-2. bits: 1., 0. bits:
CIWI-Register Default: C7H 7
C/I C/I C/I C/I
Write
Address DH
The Write C/I-code to IOM-2 Register (CIWI) writes the C/I-code to the IOM-2 interface.
0
C/I C/I 1 1 DH
7., 6. bits:
These bits are the MSBs of the 6-bit wide C/I code in IOM-2 channel 1 if ADF2:TE1 = 1. If ADF2:TE1 = 0 these two bits have no effect. They should however be set to 1 for future compatibility.
5.-2. bits: 1., 0. bits:
Contain the C/I-code going to the IOM-2. Set to "1.
Semiconductor Group
125
11.97
PSB 21911 PSF 21911
Register Description ADF-Register Additional Features Register (ADF). Default: 14H 7
WTC2 WTC1 PCL1 PCL0 BCL
Write
Address EH
0
CBAC EH
WTC2, WTC1:
Watchdog Controller The bit patterns "10" and "01" has to be written in WTC1 and WTC2 by the enabled watchdog timer within 132ms. If it fails to do so, a reset signal of 5ms at pin RST is generated.
PCL1, PCL0:
Prescaler The clock frequency on MCLK is selected by setting the bits according to the table below:
PCL1 0 0 I I PCL0 0 I 0 I Frequency at MCLK (MHz) 7.68 3.84 1.92 0.96
Bit 2: BCL:
Reserved Set to 0 for future compatibility. Bit Clock BCL = 1 changes the DCL-output into the bit-clock-mode. BCL = 0 gives the doubled bit clock on the DCL-output.
CBAC:
Control BAC Operates in combination with SWST:SGL and SWST:BS bits to control the S/G bit and the BAC bit. For the functional description see Table 18 on page 89.
Semiconductor Group
126
11.97
PSB 21911 PSF 21911
Register Description
SWST-Register
Write
Address FH
The Switch Status Register (SWST) selects the switching directions of the processor interface (PI). Default: 00H 7
WT B1 B2 D CI MON BS SGL
0
FH
WT:
Watchdog Timer WT = 1 enables the watchdog timer (page 39). WT= 0 disables the watchdog timer.
B1:
B1-channel processing B1 = 1 enables the microprocessor to access B1-channel data between IOM-2 and the U-interface. B1 = 0 disables the function described above.
B2:
B2-channel processing B2 = 1 enables the microprocessor to access B2-channel data between IOM-2 and the U-interface. B2 = 0 disables the function described above.
D:
D-channel processing D = 1 enables the microprocessor to access D-channel data between IOM-2 and U-interface. D = 0 disables the function described above.
CI:
C/I-channel processing CI = 1 enables the microprocessor to access C/I-commands and indications between IOM-2 and U-interface. CI = 0 disables the function described above.
MON:
Monitor-channel processing MON = 1 enables the microprocessor to access Monitor-channel messages at IOM-2 and at the U-interface. MON = 0 disables the function described above.
Semiconductor Group
127
11.97
PSB 21911 PSF 21911
Register Description BS: BS bit Operates in combination with SWST:SGL and ADF:CBAC bits to control the S/G bit and the BAC bit. For the functional description see Table 18 on page 89. SGL: Stop/Go Operates in combination with SWST:BS and ADF:CBAC bits to control the S/G bit and the BAC bit. For the functional description see Table 18 on page 89.
Semiconductor Group
128
11.97
PSB 21911 PSF 21911
Register Description B-Channel Access Registers Register WB1U RB1U WB1I RB1I WB2U RB2U WB2I RB2I Value after Function reset (hex) 00 00 00 00 00 00 00 00 write B1-channel data to U-interface read B1-channel data from U-interface write B1-channel data to IOM-2 read B1-channel data from IOM-2 write B2-channel data to U-interface read B2-channel data from U-interface write B2-channel data to IOM-2 read B2-channel data from IOM-2 Address (hex) 6 6 8 8 7 7 9 9
D-Channel Access Registers Register DWU DRU DWI DRI Value after Function reset (hex) FF FF FF FF write D-channel data to U-interface read D-channel data from U-interface write D-channel data to IOM-2 read D-channel data from IOM-2 Address (hex) 3 3 B B
Monitor-Channel Access Registers Register MOX MOR Value after Function reset (hex) FF FF Monitor data transmit register Monitor data receive register Address (hex) 2 2
Semiconductor Group
129
11.97
PSB 21911 PSF 21911
Electrical Characteristics 5 5.1 Electrical Characteristics Absolute Maximum Ratings
Parameter Supply voltage Input voltage Output voltage Max. voltage between GNDA1 (GNDA2) and GNDD Storage temperature Ambient temperature PSB 21911 PSF 21911 Thermal resistance (system-air) (system-case)
Symbol
VDD VI VO
Limit Values - 0.3 < VDD < 7.0
Unit V
- 0.3 < VI < VDD + 0.3 (max. 7) V - 0.3 < VO < VDD + 0.3 (max 7) V - 0.3 < VS < VDD + 0.3 (max. 7) V 250 - 65 to 125 0 to 70 - 40 to 85 40 9 mV
C C C
Max. voltage applied at U-Interface VS
VS Tstg TA TA Rth SA Rth SC
K/W K/W
Note: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. Exposure to conditions beyond those indicated in the recommended operational conditions of this specification may affect device reliability. This is a stress rating only and functional operation of the device under those conditions or at any other condition beyond those indicated in the operational conditions of this specification is not implied. It is not implied, that more than one of those conditions can be applied simultaneously.
Semiconductor Group
130
11.97
PSB 21911 PSF 21911
Electrical Characteristics Line Overload Protection The maximum input current (under overvoltage conditions) is given as a function of the width of a rectangular input current pulse as outlined in the following figure.
Figure 47 Test Condition for Maximum Input Current
U-Transceiver Input Current The destruction limits for AOUT, BOUT, AIN and BIN are given in Figure 48.
A 5 1
0.1
0.01 0.005
t WI
10 -9 10 -3 10 -1 1s
ITD09846
Figure 48 U-Transceiver Input Current
Semiconductor Group 131 11.97
PSB 21911 PSF 21911
Electrical Characteristics 5.2 Power Consumption
All measurements with random 2B + D data in active states.
Mode Test Conditions typ. Power up NT-Power down 5.00 V, open outputs 98 load at AOUT/BOUT 5.00 V, open outputs 98 load at AOUT/BOUT Temperature 0C 5.00 V, open outputs 98 load at AOUT/BOUT Temperature < 0C 53 4.7 Limit Values max. 59 9 mA mA Unit
6.5
11
mA
Semiconductor Group
132
11.97
PSB 21911 PSF 21911
Electrical Characteristics 5.3 DC Characteristics
VDD = 4.75 to 5.25 V Parameter Symbol Limit Values min. H-level input voltage L-level input voltage L-level input leakage current for all pins except for PIN #11, #14, #15 H-level input leakage current for all pins except for PIN #11, #14, #15 L-level input leakage current of PIN #11 (XIN) H-level input leakage current of PIN #11 (XIN) L-level input leakage current of PIN #14, #15 (AIN, BIN) H-level input leakage current of PIN #14, #15 (AIN, BIN) L-level input leakage current for pins with pull-up resistors H-level input leakage current for pins with pull-up resistors L-level input leakage current for pins with pull-down resistors H-level input leakage current for pins with pull-down resistors H-level output voltage for all outputs except DOUT H-level output voltage for DOUT L-level output voltage for all outputs except DOUT L-level output voltage for DOUT Input capacitance DIN, PS1, PS2, DCL, FSC (input) DOUT (open) Note: 1) Inputs at VDDd/GNDd max. Unit Test Condition
VIH VIL IIL IIH IIL IIH IIL IIH IILPU IIHPU IILPD IIHPD VOH1 VOH2 VOL1 VOL2 CIN
2.0 - 10
VDD + 0.3
0.8
V V A
VI = GNDd1) VI = VDDd1) VI = GNDd1) VI = VDDd1) VI = GNDd1) VI = VDDd1) VI = GNDd1) VI = VDDd1) VI = GNDd1) VI = VDDd1) IOH1 = 0.4 mA 1) IOH2 = 6 mA1) IOL1 = 2 mA1) IOL1 = 7 mA1)
10 - 40 40 - 70 70 - 100 - 10 - 30 100 10 30 500 2.4 3.5 0.4 0.5 10
A A A A A A A A A V V V V pF
Semiconductor Group
133
11.97
PSB 21911 PSF 21911
Electrical Characteristics U-transceiver Characteristics
Limit Values min. Receive Path Signal / (noise + total harmonic distortion)1) DC-level at AD-output Threshold of level detect Input impedance AIN/BIN Transmit Path Signal / (noise + total harmonic distortion) 2) Output DC-level Offset between AOUT and BOUT Signal amplitude 3) Output impedance AOUT/BOUT: Power-up Power-down 3.10 3.20 2 6 65 2.05 70 2.375 2.6 35.5 3.30 4 12 dB dB mV V 60 45 4 50 65 50 20 55 28 dB %4) mV k typ. max. Unit
Note: 1) Test conditions: 1.3 Vpp antisemetric sine wave as input on AIN/BIN with long range (low, critical range). 2) Interpretation and test conditions: The sum of noise and total harmonic distortion, weighted with a low pass filter 0 to 80 kHz, is at least 65 dB below the signal for an evenly distributed but otherwise random sequence of + 3, + 1, - 1, - 3. 3) The signal amplitude measured over a period of 1 min. varies less than 1%. 4) The percentage of the "1"-values in the PDM-signal.
Pin Capacitances
TA = 25 C; VDD = 5 V 5 %; VSS = 0 V; fC = 1 MHz
Pin Parameter Symbol min. All pins except XIN, XOUT XIN, XOUT Pin capacitance Limit Values max. 7 pF Unit
CIO
Pin capacitance
CIO
5
pF
Semiconductor Group
134
11.97
PSB 21911 PSF 21911
Electrical Characteristics Supply voltages = + 5 V 0.25 V VDDd VDDa1-2 = + 5 V 0.25 V The maximum sinusoidal ripple on VDDa1-2 is specified in the following figure:
Figure 49 Maximum Sinusoidal Ripple on Supply Voltage
Semiconductor Group
135
11.97
PSB 21911 PSF 21911
Electrical Characteristics 5.4 AC Characteristics
TA = 0 to 70 C, VDD = 5 V 5% Inputs are driven to 2.4 V for a logical "1" and to 0.4 V for a logical "0". Timing measurements are made at 2.0 V for a logical "1" and 0.8 V for a logical "0". The AC testing input/output waveforms are shown in figure 50.
Figure 50 Input/Output Waveform for AC Tests 5.4.1 Parallel Microprocessor Interface Timing
Siemens/Intel Bus Mode
Figure 51 Siemens/Intel Read Cycle
Semiconductor Group
136
11.97
PSB 21911 PSF 21911
Electrical Characteristics
Figure 52 Siemens/Intel Write Cycle
Figure 53 Siemens/Intel Multiplexed Address Timing
Figure 54 Siemens/Intel Non-Multiplexed Address Timing
Semiconductor Group
137
11.97
PSB 21911 PSF 21911
Electrical Characteristics Motorola Bus Mode
Figure 55 Motorola Read Timing
Figure 56 Motorola Write Cycle
Figure 57 Motorola Non-Multiplexed Address Timing
Semiconductor Group 138 11.97
PSB 21911 PSF 21911
Electrical Characteristics Microprocessor Interface Timing
CLoad = 50pF
Parameter ALE pulse width Address setup time to ALE Address hold time from ALE Address latch setup time to WR, RD Address setup time Address hold time ALE guard time DS delay after R/W setup RD pulse width Data output delay from RD Data float from RD RD control interval W pulse width Data setup time to W x CS Data hold time W x CS W control interval Symbol tAA tAL tLA tALS tAS tAH tAD tDSD tRR tRD tDF tRI tWW tDW tWD tWI 70 280 170 10 70 Limit Values min. 60 20 10 0 35 0 70 0 280 280 25 max. ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns Unit
Semiconductor Group
139
11.97
PSB 21911 PSF 21911
Electrical Characteristics 5.4.2 Serial Microprocessor Interface Timing
The following 2 figures describe the read/write cycles and the corresponding address timing for the serial microprocessor interface:
CS t CSs tP t CSh
CCLK t CDINs CDIN CDOUT
1 A3 A2 A1 A0 X X X D7 D6 D5 D4 D3 D2 D1D0
tCDINh HIGH `Z`
Figure 58 Serial P Interface Mode Write
CS t CSs tP t CSh
CCLK t CDOUTd CDIN CDOUT
0 A3 A2 A1 A0 X X X
HIGH `Z`
D7 D6 D5 D4 D3 D2 D1D0
Figure 59 Serial P Interface Mode Read
Semiconductor Group
140
11.97
PSB 21911 PSF 21911
Electrical Characteristics Table 25 Timing Characteristics (serial P interface mode)
CLoad = 50pF
Parameter Clock period Chip Select setup time Chip Select hold time CDIN setup time CDIN hold time CDOUT data out delay Symbol tP tCSs tCSh tCDINs tCDINh tCDOUTd min. 130 0 20 40 40 30 max. unit ns ns ns ns ns ns
Semiconductor Group
141
11.97
PSB 21911 PSF 21911
Electrical Characteristics 5.4.3 5.4.3.1 IOM(R)-2 Interface Timing NT Mode
TDCL
tr
DCL
tf
t wH
FSC
t wL
t dF t wFH t dDF
DOUT Data Valid
t dDC
DIN Data Valid
t hD
t sD
ITT10210
Figure 60 IOM(R)-2 Timing in NT Mode
Semiconductor Group
142
11.97
PSB 21911 PSF 21911
Electrical Characteristics Table 26
Parameter
IOM(R)-2 in NT Mode
Signal Symbol min. Limit Values typ. max. 30 1875 850 565 200 1953 960 651 310 TDCL 2 x TDCL 30 0 65 130 200 ns ns ns 2035 1105 735 420 ns ns ns ns ns Unit Test Condition
Data clock rise/fall Clock period 1) Pulse width high/low Pulse width high/low
1)
DCL
tR, tF
TDCL
CL = 25 pF CL = 25 pF
twH twL
TDCL
Clock period 2)
2)
CL = 25 pF
twH twL
FSC FSC
Frame width high 4) Frame width high
5)
twFH twFH tR, tF tdF
CL = 25 pF CL = 25 pF CL = 25 pF CL = 25 pF CL = 150 pF
(R = 1 k to VDD, open drain)
Frame synch. rise/ fall Frame advance Data out DOUT
tF
Data out Data delay clock 3) Data delay frame 3) Data sample delay Data hold Notes: DIN
tR, tF tdDC tdDF tsD thD twH +
20 50
150 100 150
ns ns ns ns ns
CL = 150 pF (tristate) CL = 150 pF CL = 150 pF
kbit/s (DCL = 512 kHz) kbit/s (DCL = 1.523 MHz) 3)The point of time at which the output data will be valid is referred to the rising edges of either FSC (tdDF ) or DCL (tdDC ). The rising edge of the signal appearing last (normally DCL) shall be the reference. 4)FSC marking superframe 5)FSC marking non-superframe
2)768
1)256
Semiconductor Group
143
11.97
PSB 21911 PSF 21911
Electrical Characteristics Power Controller Interface (Stand-Alone mode only)
Figures 61 and 62 depict the timing for read and write operations.
Figure 61 Dynamic Characteristics of Power Controller Write Access
Figure 62 Dynamic Characteristics of Power Controller Read Access
Semiconductor Group
144
11.97
PSB 21911 PSF 21911
Electrical Characteristics
Table 27
Power Controller Interface Dynamic Characteristics
CLoad = 25pF
Parameter Signal Symbol min. Write clock rise/fall Write with low Address set-up Data delay write Data delay read Set-up data read Read clock rise/fall Read width PCRD PCWR Limit Values typ. 4 x TDCL 2 x TDCL 2 x TDCL 130 130 30 4 x TDCL max. 30 ns ns ns ns ns ns ns ns Unit
tR, tF twRL
PCA0 ... 1 tsAD PCD0 ... 2 tdDW
tdDR tsDR tR, tF trDL
Semiconductor Group
145
11.97
PSB 21911 PSF 21911
Electrical Characteristics Reset Table 28 Parameter Power-on Reset Active low state Reset Timing Symbol tRST Limit Values min. 67 5 10 ms ms ns Unit Test Conditions
Watchdog Reset tRST Active low state Reset at pin RES tRST Active low state
RST
t RST
ITD09823
Figure 63 Reset Signal
Semiconductor Group
146
11.97
PSB 21911 PSF 21911
Package Outlines 6 Package Outlines
Plastic Package, P-LCC-44 (Metric Quad Flat Package)
Sorts of Packing Package outlines for tubes, trays etc. are contained in our Data Book 'Package Information'. SMD = Surface Mounted Device Semiconductor Group 147
Dimensions in mm 11.97
PSB 21911 PSF 21911
Package Outlines Plastic Package, T-QFP-64 (Thin Quad Flat Package)
Sorts of Packing Package outlines for tubes, trays etc. are contained in our Data Book 'Package Information'. SMD = Surface Mounted Device Semiconductor Group 148
Dimensions in mm 11.97
PSB 21911 PSF 21911
External Component Sourcing 7 External Component Sourcing
The following tables contain transformers and crystals recommended by different manufacturers for use with Siemens ICs. No manufacturer can be recommended over another. Transformers marked with *) have been tested at Siemens Semiconductors and have shown positive test results. This list is not complete. It contains a few examples of devices offered by different manufacturers. Most manufacturers offer a variety of components with different parameters. For latest information please contact the manufacturers directly or visit their web pages where available.
Note: There may also exist other manufacturers than those included in the list.
Table 29
U-Transformer Information Comments Contacts (Phone) Fax www.apcisdn.com 2kV, RM8, PTH 2kV, RM6, SMD incl. hybrid and MLT EU: +44 1634 2905-88 SEA: +852 2410-2731 US: (201) 368 17-50 -91 -2518 -04
Part Number APC APC42954 APC42963S APC131... Pulse Engineering PE-65575 PE-68669 PE-68670 S+M Components V409 V832 W144 SchottCorporation
www.pulse.com 2kV 3kV, reinforced 3kV, Low bit error rate EU: +44 14834-28877 SEA: +886 78-213141 US: (619) 674 8100 -16011 -419707 -8262
www.siemens.de/pr 2kV, RM6, SMD 2kV, RM8, PTH 4kV, RM8, PTH EU: +49 89 6362 4265 SEA: +65 744-7768 US: (908)-906 4300 -6992 -632 2830
US: (615)-889-8800
Semiconductor Group
149
11.97
PSB 21911 PSF 21911
External Component Sourcing Table 29 U-Transformer Information (cont'd) Comments Contacts (Phone) Fax
Part Number Vacuumschmelze T60403 -M6290-X054 -M6290-X058 -M6276-X... TDK
www.vacuumschmelze.de 2kV 2kV/4kV; Low bit error rate 2kV; SMD EU: +49 6181 38-2673 SEA: +65 84-04 880 US: (405) 943 9651 -2780 -26 607 -949 2967
EU: +49 2192 487-0 Valor www.valorinc.com EU: +44 1727-8248-75 SEA: +852 2 953-1000 US: (619) 537-2500 Vogt 544 03 006 00 2kV, PTH -98 -1333 -2525
www.vogt-electronic.com EU: +49 8591 17-0 -240 SEA: +86 21 6251-2227 -4489 US: (914) 921-6900 -6381
Semiconductor Group
150
11.97
PSB 21911 PSF 21911
External Component Sourcing
Table 30
Crystal Information Comments Contacts (Phone) Fax
Part Number Frischer Electronic
EU: +49 9131-33007 KVG EU: +49 7263 648-0 NDK J: (03)-460-2111 US: (408) 255-0831 Saronix US: (415) 856-6900 Tele Quarz EU: +49 7268 8010
Semiconductor Group
151
11.97
PSB 21911 PSF 21911
Glossary 8
A/D ADC AGC AIN ANSI ARCOFI AOUT B BCL BIN BOUT C/I CCITT CCRC CRC D D/A DAC DCL DD DT DU EC EOC EOM ETSI FEBE FIFO FSC GND HDLC ICC IEC-Q IOM-2 INFO ISDN ISW LB LBBD LSB LT MON MSB MR MTO MX
Glossary
Analog-to digital Analog-to digital converter Automatic gain control Differential U-interface input American National Standardization Institute Audio ringing codec filter Differential U-interface output 64-kbit/s voice and data transmission channel Bit clock Differential U-interface input Differential U-interface output Command/Indicate (channel) Comite Consultatif International des Telephones et Telegraph Corrupted CRC Cyclic redundancy check 16-kbit/s data and control transmission channel Digital-to-analog Digital-to-analog converter Data clock Data downstream Data through test mode Data upstream Echo canceller Embedded operations channel End of message European Telephone Standards Institute Far-end block error First-in first-out (memory) Frame synchronizing clock Ground High-level data link control ISDN-communications controller ISDN-echo cancellation circuit conforming to 2B1Q-transmission code ISDN-oriented modular 2nd generation U- and S-interface signal as specified by ANSI/ETSI Integrated services digital network Inverted synchronization word Loop back Loop-back of B- and D-channels Least significant bit Line termination Monitor channel command Most significant bit Monitor read bit Monitor procedure timeout Monitor transmit bit 152 11.97
Semiconductor Group
PSB 21911 PSF 21911
Glossary
NCC NEBE NT OSI PLL PS PSD PTT PU RCC RCI RMS RP S/T SBCX SICOFI SLIC SSP ST SW TE TL TN TP U UTC 2B1Q Notify of corrupt CRC Near-end block error Network termination Open systems interconnection Phase locked loop Power supply status bit Power spectral density Post, telephone, and telegraph administration Power-up Request corrupt CRC Read Power Controller Interface Root mean square Repeater Two-wire pair interface S/T-bus interface circuit extended Signal processing codec filter Subscriber line interface circuit Send single pulses (test mode) Self test Synchronization word Terminal equipment Wake-up tone, LT side Wake-up tone, NT side Test pin Single wire pair interface Unable to comply Transmission code requiring 80-kHz bandwidth
Semiconductor Group
153
11.97
PSB 21911 PSF 21911
Appendix Appendix A: Jitter on IOM-2 The output jitter on the IOM-2 clocks FSC and DCL/BCL may be higher than in versions 4.3 and older. The jitter on pin CLS is the same as in versions 4.3 and older. This does not contradict any norm or specification. However in jitter sensitive applications the system performance should be rechecked. For PCM-2 applications - as depicted in the IEC-Q V4.3 User's Manual 02.95 on page 44 - it is not recommended to use the IEC-Q TE V5.2 together with version 3.0 of SICOFI-2 (PEB/F 2260). This is due to the somewhat different behavior of this SICOFI-2 version from earlier versions (see Delta Sheet, May 1996, of the PEB/F 2260). Instead, it is recommended to use the PEB 2091 IEC-Q in NT-PBX mode for PCM-2 applications with the PEB/F 2260. The application with IEC-Q and SICOFI-2 is described in the IEC-Q V5.2 Errata Sheet 09.97 on page 6ff.
Semiconductor Group
154
11.97
PSB 21911 PSF 21911
Appendix Appendix B:S/G Bit Control State Machine The state machine of the S/G bit control in TE mode is given in the following state diagrams. The values in the state diagrams are to be interpreted as follows:
In p u t V a lu e
S ta te
Num ber
S ta te N a m e O u tp u t V a lu e
In p u t V a lu e
Figure 64 S/G Bit State Machine Notation
Semiconductor Group
155
11.97
PSB 21911 PSF 21911
Appendix
PMODE = 0 or ACT = 0 or TE = 0
1 Reset D0=0;SG=Z
(PMODE=ACT=TE=1) and (BS=CBAC=0) and (SGL=1)
3 S/G to 1 D0=0;SG=1
(PMODE=ACT=TE=1) and (BS=SGL=0)
2 S/G to 0 D0=0;SG=0
1
BS=1 and SGL=0
4 S/G-4T to 0 D0=0;SG=0 T4 expired
EOC=25 T4 set 5 S/G-4T to 1 D0=0;SG=1
1
(BS=SGL=1) and CBAC=0 EOC=25
6 S/G transp. D0=0;SG=Z EOC=27 EOC=27 8 S/G transp. 0 D0=0;SG=0
7 S/G transp. 1 D0=0;SG=1
EOC=25
Figure 65 State machine (part 1)
Semiconductor Group
156
11.97
PSB 21911 PSF 21911
Appendix
(PMODE=ACT=TE=1) and (SGL=CBAC=1) and (BS=0) and (BAC=1)
8 HDLC ctrl D0=0;SG=1 BAC=0 TD1 set 9 BAC-Edge D0=0;SG=1 TD1 expired 10 Wait for EOC D0=0;SG=1
EOC=27
EOC=25
12 S/G go D0=0;SG=0
EOC=25
13 S/G stop D0=0;SG=1
EOC=27
Figure 66 State machine (part 2)
Semiconductor Group
157
11.97
PSB 21911 PSF 21911
Appendix
(PMODE=ACT=TE=1) and (BS=SGL=CBAC=1) and (BAC=1)
14 HDLC ctrl D0=0;SG=1 BAC=0 TD1 set 15 BAC-Edge D0=1;SG=1 TD1 expired
17 Wait for EOC D0=1;SG=1 EOC=27 18 S/G go D0=1;SG=0 HDLC_Frame EOC=25 EOC=25 EOC=25 19 S/G stop D=1;SG=1 HDLC_Frame
EOC=27
20 HDLC-F go D0=0;SG=0
EOC=27
21 HDLC-F stop D0=0;SG=1
Figure 67 State machine (part 3)
Semiconductor Group
158
11.97
PSB 21911 PSF 21911
Appendix Table 31 State Machine Input Signals
No. 1 2 3
Signal name PMODE TE ACT
Description Corresponds to the PMODE pin. Set to "1" (only) in the microprocessor mode This input is set to "1" (only) in the TE mode "1" on this input indicates receiver synchronization (e.g. in the Transparent state, see IEC-Q V4.3 User`s Manual 02.95, page 175). SWST:BS bit. SWST:SGL bit. ADF:CBAC bit. This input indicates that the EOC code 25h (stop) was received on the U interface. This input indicates that the EOC code 27h (go) was received on the U interface. A 500 micro seconds timer is enabled. The 500 micro seconds timer (see 9) has expired. The timer TD1 is enabled. This timer depends on the position of the EOC frame in the currently received U data. It varies between 7.5 and 15 ms. The timer TD1 has expired. This timer depends on the position of the EOC frame in the currently received U data. It varies between 7.5 and 15 ms. BAC bit on DIN. This is bit no. 27 positioned in the third IOM slot
4 5 6 7 8 9 10 11
BS SGL CBAC EOC=25 EOC=27 T1 set T1 expired TD1 set
12
TD1 expired
13
BAC
Table 32
State Machine Output Signals
No. 1
Signal name SG
Description Value of the S/G bit on DOUT. The S/G bit is bit no. 27 in the third slot on DOUT. SG=Z Means that the SG bit has the value high Z Sets the D channel upstream to "0" if active ("1")
2
D0
Semiconductor Group
159
11.97
PSB 21911 PSF 21911
Appendix Appendix C:Quick Reference Guide This chapter contains tables and figures often required when working with the PSB 21911. For additional technical information please refer to the relevant chapter.
Semiconductor Group
160
11.97
PSB 21911 PSF 21911
Appendix U-Transceiver State Diagram
. SN0 Pending Timing DC T 14 S
T14 E T14 S TL
T14 S
SN0 Deactivated DC
.
AR or TL
TIM or DIN = 0 DI
Any State Pin-SSP or Pin-RES or SSP or RES
. SN0 IOM R Awaked PU AR or TL
TN Alerting DC T11E PU T12S
DI . SN0/SP Test DR ARL T12S
DI T1S, T11S TN
T1S, T11S
.
.
T1S, T11S
. SN1 EC-Training AL DC
LSEC or T12E LSUE or T1E
SN1 EC-Training DC SN0 EQ-Training DC
.
DI
. SN1 EC-Training 1 DR
(LSEC or T12E) & DI
Alerting 1 DR T11E T12S
LSEC or T12E
act = 0 SN3 Wait for SF AL DC BBD1 & SFD SN3T act = 0 Analog Loop Back AR
.
BBD0 & FD T1E
. SN2 Wait for SF DC BBD0 & SFD
act = 0 SN3/SN3T Synchronized 1 DC uoa = 1 act = 0 SN3/SN3T Synchronized 2 AR/ARL AI act = 1 SN3/SN3T Wait for Act AR/ARL act = 1 act = 0 SN3T act = 1 Transparent AI/AIL act = 1 & AI SN3T act = 0 Error S/T AR/ARL LOF dea = 0 LSUE uoa = 0 dea = 0 LSUE uoa = 0 dea = 0 LSUE uoa = 0 dea = 0 LSUE dea = 0 uoa = 0 LSUE
LOF DI
act = 1/0 SN3 Pend. Deact. S/T DR dea = 0 LSUE
LOF
LOF
LOF EI1 LOF Any State Pin-DT or DT EI 1
Yes uoa = 1 ? No
act = 0
. SN0 Pend. Receive Res. EI1 LSU or (/LOF & T13E) T7S . SN0 Receive Reset T7E DR & DI
T13S T7S TL
dea = 1 SN3T act = 1 Pend. Deact. U DC LSU
ITD09705
Figure 68 U-Transceiver State Diagram
Semiconductor Group
161
11.97
PSB 21911 PSF 21911
Appendix Table 33 Code IN 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 TIM RES - - EI1 SSP DT - AR - ARL - AI - - DI U-Transceiver C/I Codes NT-Mode OUT DR - - - EI1 - INT PU AR - ARL - AI - AIL DC
AI AR ARL DC DI DR DT
Activation Indication Activation Request Activation Request Local Loop Deactivation Confirmation Deactivation Indication Deactivation Request Data-Through test mode
EI1 INT PU RES SSP TIM
Error Indication 1 Interrupt Power-Up Reset Send-Single-Pulses test mode Timing request
Semiconductor Group
162
11.97
PSB 21911 PSF 21911
Index A Absolute Maximum Ratings 130 AC Characteristics 136 Activation/Deactivation Examples 100 Analog Line Port 78 Auto Mode (EOC) 51 B BAC Bit and S/G Bit 89 B-Channel Access 82 Block Error Counters 46 Blocking Capacitors 109 C C/ I Channel 34 C/I Channel Example 97 C/I Codes 75, 162 C/I-Channel Access 83 Cold Start 63 Component Sourcing 149 Crystal Suppliers 151 Cyclic Redundancy Check 44 D DC Characteristics 133 D-Channel Access 82 Device Architecture 28 DOUT Driver Modes 27 E Electrical Characteristics 130 ELIC 90 Embedded Operations Channel EOC 50 EOC-Processor 51 External Circuitry 109 F Features G Glossary H Hybrid 9 152 110 I Interrupt Structure 114 IOM-2 30 IOM-2 Clocks 37 IOM-2 Output Driver 38 IOM-2 Channel Access 81 IOM-2 Jitter 154 J Jitter 154
L Layer 1 Loop-Backs 76 Line Overload Protection 131 Local Functions 59 Logic Symbol P 10 Logic Symbol NT1 11 Loop-Back 76 Loop-Back (No. 2) 76 Loop-Back (No. 3) 77 M Microprocessor Bus Selection 39 Microprocessor Clock Output 39 Microprocessor Interface 21 MON-0 51 MON-1 54 MON-2 56 MON-8 59 Monitor Channel 35 Access 84 Interrupt 115 Programming Example 98 Protocol 86 Timeout 36 O Operating Modes 26 Oscillator Circuit 111 Overhead Bits 56 P Package Outlines 147 Partial Activation 104 PBX Linecard 90
163 11.97
50
Semiconductor Group
PSB 21911 PSF 21911
Index Pin Configuration 12 Pin Definitions 13 Power Consumption 132 Power Controller Interface 94 Power Supply 109 Pulse Shape 80 Q Quick Reference Guide 160
R Register Address Map 112 Register Summary 113 Reset 93 Reset Timing 146 S S/G Bit and BAC Bit 89 Scrambler / Descrambler 49 State Diagram 64, 161 State Machine Notation Rules Superframe Marker 38 System Integration 22 T Test Modes 27 Transformer Suppliers 149 Transparent Mode (EOC) 51 U U-Interface Hybrid 110 U-Interface Signals 100 U-Transceiver 40 Block Diagram 41 Frame Structure 42 State Machine 63, 161 W Warm Start 63 Watchdog Timer
62
39
Semiconductor Group
164
11.97


▲Up To Search▲   

 
Price & Availability of PSB21911

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X